Changeset 17732
- Timestamp:
- 04/14/14 20:54:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/model.py
r17724 r17732 329 329 #Edges 330 330 if m.strcmp(md.mesh.domaintype(),'2Dhorizontal'): 331 if numpy.ndim(md2.mesh.edges)>1 and numpy.size(md2.mesh.edges,axis=1)>1: #do not use ~isnan because there are some n py.nans...331 if numpy.ndim(md2.mesh.edges)>1 and numpy.size(md2.mesh.edges,axis=1)>1: #do not use ~isnan because there are some numpy.nans... 332 332 #renumber first two columns 333 333 pos=numpy.nonzero(md2.mesh.edges[:,3]!=-1)[0] … … 395 395 md2.stressbalance.spcvy[nodestoflag2]=md2.inversion.vy_obs[nodestoflag2] 396 396 else: 397 md2.stressbalance.spcvx[nodestoflag2]=n py.nan398 md2.stressbalance.spcvy[nodestoflag2]=n py.nan397 md2.stressbalance.spcvx[nodestoflag2]=numpy.nan 398 md2.stressbalance.spcvy[nodestoflag2]=numpy.nan 399 399 print "\n!! extract warning: spc values should be checked !!\n\n" 400 400 #put 0 for vz
Note:
See TracChangeset
for help on using the changeset viewer.