Ignore:
Timestamp:
07/23/13 14:23:07 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: hutter-> SIA macayeal->SSA pattyn->HO stokes->FS

Location:
issm/trunk-jpl/src/m/plot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/plot_elementstype.m

    r13730 r15564  
    1818
    1919if is2d
    20         %Hutter elements
     20        %SIA elements
    2121        posH=find(data==1);
    2222        A=elements(posH,1); B=elements(posH,2); C=elements(posH,3);
     
    2626        A=elements(posM,1); B=elements(posM,2); C=elements(posM,3);
    2727        p2=patch( 'Faces', [A B C], 'Vertices', [x y z],'CData',2,'FaceColor','flat','EdgeColor',edgecolor);
    28         %Pattyn element
     28        %HO element
    2929        posP=find(data==3);
    3030        A=elements(posP,1); B=elements(posP,2); C=elements(posP,3);
    3131        p3=patch( 'Faces', [A B C], 'Vertices', [x y z],'CData',3,'FaceColor','flat','EdgeColor',edgecolor);
    32         %MacAyealPattyn element
     32        %MacAyealHO element
    3333        posMP=find(data==5);
    3434        A=elements(posMP,1); B=elements(posMP,2); C=elements(posMP,3);
    3535        p5=patch( 'Faces', [A B C], 'Vertices', [x y z],'CData',5,'FaceColor','flat','EdgeColor',edgecolor);
    36         %Stokes elements
     36        %FS elements
    3737        posS=find(data==4);
    3838        A=elements(posS,1); B=elements(posS,2); C=elements(posS,3);
    3939        p6=patch( 'Faces', [A B C], 'Vertices', [x y z],'CData',4,'FaceColor','flat','EdgeColor',edgecolor);
    40         %MacAyealStokes elements
     40        %MacAyealFS elements
    4141        posMS=find(data==6);
    4242        A=elements(posMS,1); B=elements(posMS,2); C=elements(posMS,3);
    4343        p7=patch( 'Faces', [A B C], 'Vertices', [x y z],'CData',6,'FaceColor','flat','EdgeColor',edgecolor);
    44         %PattynStokes elements
     44        %HOFS elements
    4545        posPS=find(data==7);
    4646        A=elements(posPS,1); B=elements(posPS,2); C=elements(posPS,3);
     
    5252
    5353        legend([p1 p2 p3 p5 p6 p7 p8 p9],...
    54                 'Hutter''s elements','MacAyeal''s elements','Pattyn''s elements',...
    55                 'MacAyealPattyn''s elements','Stokes''s elements','MacAyealStokes''s elements','PattynStokes''s elements','None element');
     54                'SIA''s elements','MacAyeal''s elements','HO''s elements',...
     55                'MacAyealHO''s elements','FS''s elements','MacAyealFS''s elements','HOFS''s elements','None element');
    5656
    5757else
    58         %Hutter elements
     58        %SIA elements
    5959        posH=find(data==1);
    6060        A=elements(posH,1); B=elements(posH,2); C=elements(posH,3); D=elements(posH,4); E=elements(posH,5); F=elements(posH,6);
     
    7272        patch( 'Faces', [B E F C],'Vertices', [x y z],'CData', 2,'FaceColor','flat','EdgeColor',edgecolor);
    7373        patch( 'Faces', [C A D F],'Vertices', [x y z],'CData', 2,'FaceColor','flat','EdgeColor',edgecolor);
    74         %Pattyn elements
     74        %HO elements
    7575        posP=find(data==3);
    7676        A=elements(posP,1); B=elements(posP,2); C=elements(posP,3); D=elements(posP,4); E=elements(posP,5); F=elements(posP,6);
     
    8080        patch( 'Faces', [B E F C],'Vertices', [x y z],'CData', 3,'FaceColor','flat','EdgeColor',edgecolor);
    8181        patch( 'Faces', [C A D F],'Vertices', [x y z],'CData', 3,'FaceColor','flat','EdgeColor',edgecolor);
    82         %Stokes elements
     82        %FS elements
    8383        posS=find(data==4);
    8484        A=elements(posS,1); B=elements(posS,2); C=elements(posS,3); D=elements(posS,4); E=elements(posS,5); F=elements(posS,6);
     
    8888        patch( 'Faces', [B E F C],'Vertices', [x y z],'CData', 4,'FaceColor','flat','EdgeColor',edgecolor);
    8989        patch( 'Faces', [C A D F],'Vertices', [x y z],'CData', 4,'FaceColor','flat','EdgeColor',edgecolor);
    90         %MacAyealPattyn elements
     90        %MacAyealHO elements
    9191        posP=find(data==5);
    9292        A=elements(posP,1); B=elements(posP,2); C=elements(posP,3); D=elements(posP,4); E=elements(posP,5); F=elements(posP,6);
     
    9696        patch( 'Faces', [B E F C],'Vertices', [x y z],'CData', 5,'FaceColor','flat','EdgeColor',edgecolor);
    9797        patch( 'Faces', [C A D F],'Vertices', [x y z],'CData', 5,'FaceColor','flat','EdgeColor',edgecolor);
    98         %PattynStokes elements
     98        %HOFS elements
    9999        PosPS=find(data==7);
    100100        A=elements(PosPS,1); B=elements(PosPS,2); C=elements(PosPS,3); D=elements(PosPS,4); E=elements(PosPS,5); F=elements(PosPS,6);
     
    104104        patch( 'Faces', [B E F C],'Vertices', [x y z],'CData', 7,'FaceColor','flat','EdgeColor',edgecolor);
    105105        patch( 'Faces', [C A D F],'Vertices', [x y z],'CData', 7,'FaceColor','flat','EdgeColor',edgecolor);
    106         %MacAyealStokes elements
     106        %MacAyealFS elements
    107107        PosMS=find(data==6);
    108108        A=elements(PosMS,1); B=elements(PosMS,2); C=elements(PosMS,3); D=elements(PosMS,4); E=elements(PosMS,5); F=elements(PosMS,6);
     
    122122
    123123        legend([p1 p2 p3 p4 p5 p6 p7 p8],...
    124                 'Hutter''s elements','MacAyeal''s elements','Pattyn''s elements','Stokes''s elements',...
    125                 'MacAyealPattyn''s elements','PattynStokes''s elements','MacAyealStokes''s elements','None elements');
     124                'SIA''s elements','MacAyeal''s elements','HO''s elements','FS''s elements',...
     125                'MacAyealHO''s elements','HOFS''s elements','MacAyealFS''s elements','None elements');
    126126end
    127127
  • issm/trunk-jpl/src/m/plot/plot_penalties.m

    r13730 r15564  
    4040                P2=plot3(x(md.penalties(i,:)),y(md.penalties(i,:)),z(md.penalties(i,:)),'bo-','LineWidth',2,'MarkerSize',8,'MarkerFaceColor','b');
    4141        end
    42         legend([P1 P2],'MacAyeal''s penalized nodes','Pattyn''s penalized nodes');
     42        legend([P1 P2],'MacAyeal''s penalized nodes','HO''s penalized nodes');
    4343end
    4444
Note: See TracChangeset for help on using the changeset viewer.