Changeset 5534
- Timestamp:
- 08/24/10 09:32:30 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/setelementstype.m
r5524 r5534 136 136 commonelements=sum(matrixelements,2)~=0; 137 137 commonelements(find(pattynflag))=0; %only one layer: the elements previously in macayeal 138 macayealflag(find(commonelements))= 1; %these elements are now macayealpattynelements138 macayealflag(find(commonelements))=0; %these elements are now macayealpattynelements 139 139 macayealpattynflag=zeros(md.numberofelements,1); 140 140 macayealpattynflag(find(commonelements))=1; … … 147 147 148 148 %Now recreate gridonmacayeal and gridonmacayealpattyn 149 gridonmacayeal(md.elements(find(macayealflag),:))=1;150 149 gridonmacayealpattyn(md.elements(find(macayealpattynflag),:))=1; 151 150 end
Note:
See TracChangeset
for help on using the changeset viewer.