Changeset 24391


Ignore:
Timestamp:
11/23/19 06:33:45 (5 years ago)
Author:
Mathieu Morlighem
Message:

BUG: cannot request a Gauss point of order 0

Location:
issm/trunk-jpl/src/c
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/analyses/HydrologyShaktiAnalysis.cpp

    r24335 r24391  
    412412
    413413        /*Get gap height derivatives at the center of the element*/
    414         Gauss* gauss=element->NewGauss(0);
     414        Gauss* gauss=element->NewGauss(1);
    415415        head_input->GetInputDerivativeValue(&dh[0],xyz_list,gauss);
    416416        delete gauss;
  • TabularUnified issm/trunk-jpl/src/c/shared/Numerics/GaussPoints.cpp

    r21931 r24391  
    2020                For degree p, the required number of Gauss-Legendre points is
    2121                n>=(p+1)/2.*/
     22        _assert_(ngaus>0);
    2223
    2324        /*Intermediaries*/
     
    9899          Symmetrical Gaussian Quadrature Rules for the Triangle", IJNME,
    99100          Vol. 21, pp. 1129-1148 (1985), as transcribed for Probe rules3.*/
     101        _assert_(iord>0);
    100102
    101103        /*Intermediaries*/
     
    12181220                Quadrature Formulas", Computer Methods in Applied Mechanics and
    12191221                Engineering, Vol. 55, pp. 339-348 (1986).*/
     1222        _assert_(iord>0);
    12201223
    12211224        /*Intermediaries*/
     
    14841487          For degree p, the required number of Gauss-Lobatto points is
    14851488          n>=(p+1)/2+1 (one more than Gauss-Legendre).*/
     1489        _assert_(ngaus>0);
    14861490
    14871491        int i;
Note: See TracChangeset for help on using the changeset viewer.