Changeset 1244
- Timestamp:
- 07/07/09 10:56:02 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/BasinConstrain.m
r1241 r1244 54 54 55 55 %now, make sure all elements on water have grids that are spc'd, otherwise, we'll get a singular problem. 56 pos=find(md.elementonwater); 57 grids=unique(md.elements(pos,:)); 56 pos=find(~md.elementonwater); 57 numpos=unique(md.elements(pos,:)); 58 grids=setdiff(1:1:md.numberofgrids,numpos); 58 59 59 60 md.gridondirichlet_diag(grids)=1;
Note:
See TracChangeset
for help on using the changeset viewer.