Changeset 23022


Ignore:
Timestamp:
07/27/18 14:57:47 (7 years ago)
Author:
caronlam
Message:

fixed solid Earth tests missing grounded ice check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/test2003.py

    r22986 r23022  
    5757md.mask.groundedice_levelset = -np.ones((md.mesh.numberofvertices,))
    5858
     59#make sure that the elements that have loads are fully grounded:
     60pos=np.where(md.slr.deltathickness);
     61md.mask.groundedice_levelset[md.mesh.elements[pos,:]]=1;
     62
    5963#make sure wherever there is an ice load, that the mask is set to ice:
    6064pos = np.where(md.slr.deltathickness)
Note: See TracChangeset for help on using the changeset viewer.