Changeset 14020
- Timestamp:
- 11/27/12 15:33:42 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/parameterization/setflowequation.py
r14019 r14020 94 94 numpy.logical_not(numpy.isnan(md.diagnostic.spcvy)).astype(int)+ \ 95 95 numpy.logical_not(numpy.isnan(md.diagnostic.spcvz)).astype(int)==3, \ 96 numpy.logical_and(nodeonpattyn,nodeonstokes).reshape(-1,1)) #find all the nodes on the boundary of the domain without icefront96 numpy.logical_and(nodeonpattyn,nodeonstokes).reshape(-1,1)).astype(int) #find all the nodes on the boundary of the domain without icefront 97 97 # fullspcelems=double(sum(fullspcnodes(md.mesh.elements),2)==6); %find all the nodes on the boundary of the domain without icefront 98 98 fullspcelems=(numpy.sum(fullspcnodes[md.mesh.elements-1],axis=1)==6).astype(int) #find all the nodes on the boundary of the domain without icefront
Note:
See TracChangeset
for help on using the changeset viewer.