Changeset 13244
- Timestamp:
 - 09/04/12 15:07:21 (13 years ago)
 - File:
 - 
      
- 1 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
issm/trunk-jpl/src/m/parameterization/setflowequation.py
r13171 r13244 91 91 if any(stokesflag): 92 92 # fullspcnodes=double((~isnan(md.diagnostic.spcvx)+~isnan(md.diagnostic.spcvy)+~isnan(md.diagnostic.spcvz))==3 | (nodeonpattyn & nodeonstokes)); %find all the nodes on the boundary of the domain without icefront 93 fullspcnodes=numpy.logical_or(numpy.logical_not(numpy.isnan(md.diagnostic.spcvx)) + \94 numpy.logical_not(numpy.isnan(md.diagnostic.spcvy)) + \95 numpy.logical_not(numpy.isnan(md.diagnostic.spcvz)) ==3, \93 fullspcnodes=numpy.logical_or(numpy.logical_not(numpy.isnan(md.diagnostic.spcvx)).astype(int)+ \ 94 numpy.logical_not(numpy.isnan(md.diagnostic.spcvy)).astype(int)+ \ 95 numpy.logical_not(numpy.isnan(md.diagnostic.spcvz)).astype(int)==3, \ 96 96 numpy.logical_and(nodeonpattyn,nodeonstokes)).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  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)