Changeset 27123


Ignore:
Timestamp:
06/29/22 11:55:16 (3 years ago)
Author:
Cheng Gong
Message:

CHG: add threashold for bed>sealevel to have no calving

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/Tria.cpp

    r27121 r27123  
    920920                }
    921921
    922                 /* Compute the hyperbolic tangent function */
     922                /* set upper and lower bounds */
    923923                if (gamma > 1.0) gamma = 1.0;
    924924                if (gamma < 0.0) gamma = 0.0;
     925                if (bed >= sealevel) gamma = 0.0;
    925926
    926927                /*-------------------------------------------*/
Note: See TracChangeset for help on using the changeset viewer.