Changeset 2323
- Timestamp:
- 09/25/09 08:58:08 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/setelementstype.m
r1876 r2323 61 61 gridonstokes=ones(md.numberofgrids,1); 62 62 gridonstokes(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 icefront63 pos=find(sum(md.spcvelocity(:,1:2),2)==2); %find all the grids on the boundary of the domain without icefront 64 64 gridonstokes(pos)=0; %we have to constrain all the boundary of the domain without icefront 65 65
Note:
See TracChangeset
for help on using the changeset viewer.