Changeset 1622


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

better definition of isstokes

File:
1 edited

Legend:

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

    r1338 r1622  
    132132
    133133%figure out solution types
    134 md.ishutter=double(any(md.elements_type(:,1)==HutterEnum()));
    135 md.ismacayealpattyn=double(any(md.elements_type(:,1)==MacAyealEnum() | md.elements_type(:,1)==PattynEnum() ));
    136 md.isstokes=double(any(md.elements_type(:,2)));
     134md.ishutter=double(any(md.elements_type(:,1)==HutterEnum));
     135md.ismacayealpattyn=double(any(md.elements_type(:,1)==MacAyealEnum | md.elements_type(:,1)==PattynEnum));
     136md.isstokes=double(any(md.elements_type(:,2)==StokesEnum));
    137137
    138138end
Note: See TracChangeset for help on using the changeset viewer.