Ignore:
Timestamp:
08/21/20 10:49:02 (5 years ago)
Author:
Mathieu Morlighem
Message:

CHG: removing gauss loop in analyses

File:
1 edited

Legend:

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

    r25379 r25439  
    215215        /* Start  looping on the number of gaussian points: */
    216216        Gauss* gauss = basalelement->NewGauss(2);
    217         for(int ig=gauss->begin();ig<gauss->end();ig++){
    218                 gauss       ->GaussPoint(ig);
     217        while(gauss->next()){
    219218                basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss);
    220219                basalelement->NodalFunctionsDerivatives(dbasis,xyz_list,gauss);
     
    339338        /* Start  looping on the number of gaussian points: */
    340339        Gauss* gauss = basalelement->NewGauss(2);
    341         for(int ig=gauss->begin();ig<gauss->end();ig++){
    342                 gauss->GaussPoint(ig);
     340        while(gauss->next()){
    343341                basalelement ->JacobianDeterminant(&Jdet,xyz_list,gauss);
    344342                basalelement ->NodalFunctions(basis,gauss);
Note: See TracChangeset for help on using the changeset viewer.