Changeset 21774


Ignore:
Timestamp:
06/30/17 09:52:04 (8 years ago)
Author:
Mathieu Morlighem
Message:

CHG: added some checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Loads/Friction.cpp

    r21740 r21774  
    546546        alpha2 = alpha2 * exp((deltaTref - deltaT)/(2*gamma));
    547547
     548        /*Final checks in debuging mode*/
     549        _assert_(!xIsNan<IssmDouble>(alpha2));
     550        _assert_(!xIsInf<IssmDouble>(alpha2));
     551
    548552        /*Assign output pointers:*/
    549553        *palpha2=alpha2;
Note: See TracChangeset for help on using the changeset viewer.