Ignore:
Timestamp:
07/25/13 11:22:00 (12 years ago)
Author:
seroussi
Message:

CHG: removed md.diagnostic.icefront and added capability to recover old fronts

File:
1 edited

Legend:

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

    r15565 r15614  
    6666pos=numpy.nonzero(md.mesh.y==ymax)
    6767nodeonicefront[pos]=1
    68 pos=numpy.nonzero(numpy.logical_or(nodeonicefront[md.mesh.segments[:,0].astype(int)-1],nodeonicefront[md.mesh.segments[:,1].astype(int)-1]))[0]
    69 diagnostic.icefront=md.mesh.segments[pos,:]
    70 diagnostic.icefront=numpy.hstack((diagnostic.icefront,1.*md.mask.elementonfloatingice[diagnostic.icefront[:,-1].astype(int)-1].reshape(-1,1)))
    71 md.diagnostic.icefront=diagnostic.icefront
     68md.mask.icelevelset=1-nodeonicefront
    7269
    7370md=solve(md,DiagnosticSolutionEnum())
Note: See TracChangeset for help on using the changeset viewer.