Changeset 5969


Ignore:
Timestamp:
09/22/10 15:27:24 (15 years ago)
Author:
seroussi
Message:

minor for pattynstokes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/setelementstype.m

    r5919 r5969  
    174174                md.elements_type(find(pattynstokesflag))=PattynStokesApproximationEnum();
    175175
    176                 %Now recreate gridonmacayeal and gridonmacayealpattyn
     176                %Now recreate gridonpattynstokes
     177                gridonpattynstokes=zeros(md.numberofgrids,1);
    177178                gridonpattynstokes(md.elements(find(pattynstokesflag),:))=1;
    178179        elseif any(stokesflag) & any(macayealflag+hutterflag),
     
    199200if any(stokesflag),
    200201        pos=find(~gridonstokes);
    201         md.vertices_type(pos)=NoneApproximationEnum();
     202        if(~any(pattynflag)),
     203                md.vertices_type(pos)=NoneApproximationEnum();
     204        end
    202205end
    203206pos=find(gridonpattynstokes);
Note: See TracChangeset for help on using the changeset viewer.