Changeset 15610
- Timestamp:
- 07/25/13 09:15:25 (12 years ago)
- Location:
- issm/trunk-jpl/test/Par
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/Par/RoundSheetShelf.par
r14541 r15610 104 104 pressureload=[pressureload 1*md.mask.elementonfloatingice(pressureload(:,end)) + 0*md.mask.elementongroundedice(pressureload(:,end))]; 105 105 md.diagnostic.icefront=pressureload; 106 md.mask.icelevelset(find(md.mesh.vertexonboundary))=0; 106 107 md.balancethickness.spcthickness=NaN*ones(md.mesh.numberofvertices,1); 107 108 md.prognostic.spcthickness=NaN*ones(md.mesh.numberofvertices,1); -
issm/trunk-jpl/test/Par/RoundSheetShelf.py
r14541 r15610 113 113 pressureload=numpy.hstack((pressureload,(1*md.mask.elementonfloatingice[pressureload[:,-1].astype(int)-1] + 0*md.mask.elementongroundedice[pressureload[:,-1].astype(int)-1]).reshape(-1,1))) 114 114 md.diagnostic.icefront=pressureload 115 pos=numpy.nonzero(md.mesh.vertexonboundary) 116 md.mask.icelevelset[pos]=0 115 117 md.balancethickness.spcthickness=float('nan')*numpy.ones((md.mesh.numberofvertices,1)) 116 118 md.prognostic.spcthickness=float('nan')*numpy.ones((md.mesh.numberofvertices,1))
Note:
See TracChangeset
for help on using the changeset viewer.