Changeset 2323


Ignore:
Timestamp:
09/25/09 08:58:08 (15 years ago)
Author:
Mathieu Morlighem
Message:

fixed Stokes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/setelementstype.m

    r1876 r2323  
    6161gridonstokes=ones(md.numberofgrids,1);
    6262gridonstokes(md.elements(nonstokesflag,:))=0;      %non stokes grids
    63 pos=find(sum(md.spcvelocity(:,1:3),2)==3);         %find all the grids on the boundary of the domain without icefront
     63pos=find(sum(md.spcvelocity(:,1:2),2)==2);         %find all the grids on the boundary of the domain without icefront
    6464gridonstokes(pos)=0;                               %we have to constrain all the boundary of the domain without icefront
    6565
Note: See TracChangeset for help on using the changeset viewer.