Changeset 17873
- Timestamp:
- 04/29/14 09:26:55 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/parameterization/setflowequation.py
r17497 r17873 89 89 numpy.logical_not(numpy.isnan(md.stressbalance.spcvy)).astype(int)+ \ 90 90 numpy.logical_not(numpy.isnan(md.stressbalance.spcvz)).astype(int)==3, \ 91 numpy.logical_and(nodeonHO,nodeonFS) .reshape(-1,1)).astype(int) #find all the nodes on the boundary of the domain without icefront91 numpy.logical_and(nodeonHO,nodeonFS)).astype(int) #find all the nodes on the boundary of the domain without icefront 92 92 # fullspcelems=double(sum(fullspcnodes(md.mesh.elements),2)==6); %find all the nodes on the boundary of the domain without icefront 93 93 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.