Changeset 14211 for issm/trunk-jpl/src/m/classes/model/model.py
- Timestamp:
- 01/07/13 10:11:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/model/model.py
r14151 r14211 45 45 from ElementConnectivity import * 46 46 from contourenvelope import * 47 from PythonFuncs import * 47 48 #}}} 48 49 … … 407 408 md2.diagnostic.icefront[:,2]=Pnode[md1.diagnostic.icefront[:,2].astype(int)-1] 408 409 md2.diagnostic.icefront[:,3]=Pnode[md1.diagnostic.icefront[:,3].astype(int)-1] 409 md2.diagnostic.icefront=md2.diagnostic.icefront[numpy.nonzero( numpy.logical_and(numpy.logical_and(md2.diagnostic.icefront[:,0],md2.diagnostic.icefront[:,1]),md2.diagnostic.icefront[:,-1]))[0],:]410 md2.diagnostic.icefront=md2.diagnostic.icefront[numpy.nonzero(logical_and_n(md2.diagnostic.icefront[:,0],md2.diagnostic.icefront[:,1],md2.diagnostic.icefront[:,-1]))[0],:] 410 411 411 412 #Results fields
Note:
See TracChangeset
for help on using the changeset viewer.