Changeset 19535


Ignore:
Timestamp:
09/02/15 10:43:37 (10 years ago)
Author:
Mathieu Morlighem
Message:

CHG: DO SIA LAST! Otherwise spcs might not be set up correctly (SIA should have priority)

Location:
issm/trunk-jpl/src/m/parameterization
Files:
2 edited

Legend:

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

    r18127 r19535  
    258258%Create vertices_type
    259259md.flowequation.vertex_equation=zeros(md.mesh.numberofvertices,1);
    260 pos=find(nodeonSIA);
    261 md.flowequation.vertex_equation(pos)=1;
    262260pos=find(nodeonSSA);
    263261md.flowequation.vertex_equation(pos)=2;
     
    268266pos=find(nodeonFS);
    269267md.flowequation.vertex_equation(pos)=5;
     268%DO SIA LAST! Otherwise spcs might not be set up correctly (SIA should have priority)
     269pos=find(nodeonSIA);
     270md.flowequation.vertex_equation(pos)=1;
    270271if any(FSflag),
    271272        pos=find(~nodeonFS);
  • issm/trunk-jpl/src/m/parameterization/setflowequation.py

    r18127 r19535  
    246246        #Create vertices_type
    247247        md.flowequation.vertex_equation=numpy.zeros(md.mesh.numberofvertices,int)
    248         pos=numpy.nonzero(nodeonSIA)
    249         md.flowequation.vertex_equation[pos]=1
    250248        pos=numpy.nonzero(nodeonSSA)
    251249        md.flowequation.vertex_equation[pos]=2
     
    256254        pos=numpy.nonzero(nodeonFS)
    257255        md.flowequation.vertex_equation[pos]=5
     256        #DO SIA LAST! Otherwise spcs might not be set up correctly (SIA should have priority)
     257        pos=numpy.nonzero(nodeonSIA)
     258        md.flowequation.vertex_equation[pos]=1
    258259        if any(FSflag):
    259260                pos=numpy.nonzero(numpy.logical_not(nodeonFS))
Note: See TracChangeset for help on using the changeset viewer.