Changeset 23039
- Timestamp:
- 08/01/18 14:40:07 (7 years ago)
- Location:
- issm/trunk-jpl/test/NightlyRun
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/test2002.py
r22981 r23039 55 55 md.mask.groundedice_levelset=-np.ones((md.mesh.numberofvertices)) 56 56 57 #make sure that the elements that have loads are fully grounded: 58 pos=np.nonzero(md.slr.deltathickness)[0] 59 md.mask.groundedice_levelset[md.mesh.elements[pos,:]-1]=1; 60 57 61 #make sure wherever there is an ice load, that the mask is set to ice: 58 pos=np.nonzero(md.slr.deltathickness)[0]59 62 icemask[md.mesh.elements[pos,:]-1]=-1 63 md.mask.ice_levelset=icemask 60 64 65 md.slr.ocean_area_scaling=0 61 66 62 67 #geometry … … 71 76 md.materials.rheology_B=paterson(md.initialization.temperature) 72 77 md.materials.rheology_n=3*np.ones((md.mesh.numberofelements)) 78 79 #New stuff 80 md.slr.spcthickness = np.nan((md.mesh.numberofvertices,)); 81 md.slr.Ngia = np.zeros((md.mesh.numberofvertices,)) 82 md.slr.Ugia = np.zeros((md.mesh.numberofvertices,)) 73 83 74 84 #Miscellaneous -
issm/trunk-jpl/test/NightlyRun/test2003.py
r23022 r23039 58 58 59 59 #make sure that the elements that have loads are fully grounded: 60 pos=np. where(md.slr.deltathickness);61 md.mask.groundedice_levelset[md.mesh.elements[pos,:] ]=1;60 pos=np.nonzero(md.slr.deltathickness)[0] 61 md.mask.groundedice_levelset[md.mesh.elements[pos,:]-1]=1; 62 62 63 #make sure wherever there is an ice load, that the mask is set to ice: 64 pos = np.where(md.slr.deltathickness) 65 md.mask.ice_levelset [md.mesh.elements[pos,:]] = -163 #make sure wherever there is an ice load, that the mask is set to ice: 64 icemask[md.mesh.elements[pos,:]-1]=-1 65 md.mask.ice_levelset=icemask 66 66 # }}} 67 67 … … 80 80 md.materials.rheology_B = paterson(md.initialization.temperature) 81 81 md.materials.rheology_n = 3 * np.ones((md.mesh.numberofelements,)) 82 83 #New stuff 84 md.slr.spcthickness = np.nan((md.mesh.numberofvertices,)); 85 md.slr.Ngia = np.zeros((md.mesh.numberofvertices,)) 86 md.slr.Ugia = np.zeros((md.mesh.numberofvertices,)) 82 87 83 88 #Miscellaneous -
issm/trunk-jpl/test/NightlyRun/test2010.py
r23023 r23039 58 58 59 59 #make sure that the elements that have loads are fully grounded: 60 pos=np. where(md.slr.deltathickness);61 md.mask.groundedice_levelset[md.mesh.elements[pos,:] ]=1;60 pos=np.nonzero(md.slr.deltathickness)[0] 61 md.mask.groundedice_levelset[md.mesh.elements[pos,:]-1]=1; 62 62 63 #make sure wherever there is an ice load, that the mask is set to ice: 64 #md.mask.ice_levelset = np.ones((md.mesh.numberofvertices,)) 65 pos = np.where(md.slr.deltathickness) 66 md.mask.ice_levelset[md.mesh.elements[pos,:]] = -1 63 #make sure wherever there is an ice load, that the mask is set to ice: 64 icemask[md.mesh.elements[pos,:]-1]=-1 65 md.mask.ice_levelset=icemask 67 66 # }}} 68 67 #geometry {{{ … … 86 85 md.slr.geodetic = 1 87 86 # }}} 87 88 #New stuff 89 md.slr.spcthickness = np.nan((md.mesh.numberofvertices,)); 90 md.slr.Ngia = np.zeros((md.mesh.numberofvertices,)) 91 md.slr.Ugia = np.zeros((md.mesh.numberofvertices,)) 88 92 89 93 #eustatic + rigid + elastic run:
Note:
See TracChangeset
for help on using the changeset viewer.