Changeset 18357


Ignore:
Timestamp:
08/08/14 20:35:30 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: added check on Qminus and Qplus

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/solutionsequences/solutionsequence_fct.cpp ΒΆ

    r18355 r18357  
    236236                //double Qi_plus  = ml_serial[row]/deltat*(ulmax[row] - u[row]);
    237237                //double Qi_minus = ml_serial[row]/deltat*(ulmin[row] - u[row]);
     238                _assert_(Qi_plus  >= 0.);
     239                _assert_(Qi_minus <= 0.);
    238240                d = 1.;
    239241                if(Pi_plus!=0.) d = min(1.,Qi_plus/Pi_plus);
Note: See TracChangeset for help on using the changeset viewer.