Changeset 5969
- Timestamp:
- 09/22/10 15:27:24 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/model/setelementstype.m
r5919 r5969 174 174 md.elements_type(find(pattynstokesflag))=PattynStokesApproximationEnum(); 175 175 176 %Now recreate gridonmacayeal and gridonmacayealpattyn 176 %Now recreate gridonpattynstokes 177 gridonpattynstokes=zeros(md.numberofgrids,1); 177 178 gridonpattynstokes(md.elements(find(pattynstokesflag),:))=1; 178 179 elseif any(stokesflag) & any(macayealflag+hutterflag), … … 199 200 if any(stokesflag), 200 201 pos=find(~gridonstokes); 201 md.vertices_type(pos)=NoneApproximationEnum(); 202 if(~any(pattynflag)), 203 md.vertices_type(pos)=NoneApproximationEnum(); 204 end 202 205 end 203 206 pos=find(gridonpattynstokes);
Note:
See TracChangeset
for help on using the changeset viewer.