Changeset 5534


Ignore:
Timestamp:
08/24/10 09:32:30 (15 years ago)
Author:
seroussi
Message:

hope tiling is working now !!!

File:
1 edited

Legend:

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

    r5524 r5534  
    136136        commonelements=sum(matrixelements,2)~=0;
    137137        commonelements(find(pattynflag))=0; %only one layer: the elements previously in macayeal
    138         macayealflag(find(commonelements))=1; %these elements are now macayealpattynelements
     138        macayealflag(find(commonelements))=0; %these elements are now macayealpattynelements
    139139        macayealpattynflag=zeros(md.numberofelements,1);
    140140        macayealpattynflag(find(commonelements))=1;
     
    147147
    148148        %Now recreate gridonmacayeal and gridonmacayealpattyn
    149         gridonmacayeal(md.elements(find(macayealflag),:))=1;
    150149        gridonmacayealpattyn(md.elements(find(macayealpattynflag),:))=1;
    151150end
Note: See TracChangeset for help on using the changeset viewer.