Changeset 23023


Ignore:
Timestamp:
07/27/18 14:58:00 (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/test2010.py

    r22986 r23023  
    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:
    6064#md.mask.ice_levelset = np.ones((md.mesh.numberofvertices,))
Note: See TracChangeset for help on using the changeset viewer.