Changeset 15610


Ignore:
Timestamp:
07/25/13 09:15:25 (12 years ago)
Author:
seroussi
Message:

FIX: test 423 no front was created, do it in the par file

Location:
issm/trunk-jpl/test/Par
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/Par/RoundSheetShelf.par

    r14541 r15610  
    104104pressureload=[pressureload 1*md.mask.elementonfloatingice(pressureload(:,end)) + 0*md.mask.elementongroundedice(pressureload(:,end))];
    105105md.diagnostic.icefront=pressureload;
     106md.mask.icelevelset(find(md.mesh.vertexonboundary))=0;
    106107md.balancethickness.spcthickness=NaN*ones(md.mesh.numberofvertices,1);
    107108md.prognostic.spcthickness=NaN*ones(md.mesh.numberofvertices,1);
  • issm/trunk-jpl/test/Par/RoundSheetShelf.py

    r14541 r15610  
    113113pressureload=numpy.hstack((pressureload,(1*md.mask.elementonfloatingice[pressureload[:,-1].astype(int)-1] + 0*md.mask.elementongroundedice[pressureload[:,-1].astype(int)-1]).reshape(-1,1)))
    114114md.diagnostic.icefront=pressureload
     115pos=numpy.nonzero(md.mesh.vertexonboundary)
     116md.mask.icelevelset[pos]=0
    115117md.balancethickness.spcthickness=float('nan')*numpy.ones((md.mesh.numberofvertices,1))
    116118md.prognostic.spcthickness=float('nan')*numpy.ones((md.mesh.numberofvertices,1))
Note: See TracChangeset for help on using the changeset viewer.