Changeset 17873


Ignore:
Timestamp:
04/29/14 09:26:55 (11 years ago)
Author:
cborstad
Message:

BUG: reshape no longer needed if spc's are rank-1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/parameterization/setflowequation.py

    r17497 r17873  
    8989                                              numpy.logical_not(numpy.isnan(md.stressbalance.spcvy)).astype(int)+ \
    9090                                              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 icefront
     91                                              numpy.logical_and(nodeonHO,nodeonFS)).astype(int)    #find all the nodes on the boundary of the domain without icefront
    9292#               fullspcelems=double(sum(fullspcnodes(md.mesh.elements),2)==6);         %find all the nodes on the boundary of the domain without icefront
    9393                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.