Changeset 20754


Ignore:
Timestamp:
06/16/16 12:36:19 (9 years ago)
Author:
seroussi
Message:

CHG: finished Pig runme

Location:
issm/trunk-jpl/examples/Pig
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/examples/Pig/Help.m

    r20751 r20754  
    11if step==6
    2         md = loadmodel('./Models/PIG.Control_drag');
     2        md = loadmodel('./Models/PIG_Control_drag');
    33        md.inversion.iscontrol=0;
    44
     
    1212        md=solve(md,StressbalanceSolutionEnum);
    1313
    14         save ./Models/PIG.ModelHO md;
     14        save ./Models/PIG_ModelHO md;
    1515end
  • issm/trunk-jpl/examples/Pig/Pig.par

    r20750 r20754  
    4444md.geometry.surface=md.geometry.thickness+md.geometry.base;
    4545md.geometry.bed=md.geometry.base;
    46 md.geometry.bed(pos)=md.geometry.base(pos)-100;
     46md.geometry.bed(pos)=md.geometry.base(pos)-200;
    4747
    4848%Initialization parameters
  • issm/trunk-jpl/examples/Pig/runme.m

    r20751 r20754  
    1 step=[5];
     1step=[7];
    22
    33if step==1   %Mesh Generation #1
     
    5353
    5454        % Save model
    55         save ./Models/PIG.Mesh_generation md;
     55        save ./Models/PIG_Mesh_generation md;
    5656end
    5757
    5858if step==2  %Masks #2
    5959
    60         md = loadmodel('./Models/PIG.Mesh_generation');
     60        md = loadmodel('./Models/PIG_Mesh_generation');
    6161
    6262        % Load SeaRISe dataset for Antarctica 
     
    8282       
    8383        % Save model
    84         save ./Models/PIG.SetMask md;
     84        save ./Models/PIG_SetMask md;
    8585end
    8686
    8787if step==3  %Parameterization #3
    8888
    89         md = loadmodel('./Models/PIG.SetMask');
     89        md = loadmodel('./Models/PIG_SetMask');
    9090        md = parameterize(md,'./Pig.par');
    9191
     
    9494       
    9595        % Save model
    96         save ./Models/PIG.Parameterization md;
     96        save ./Models/PIG_Parameterization md;
    9797end
    9898
    9999if step==4  %Control Method #4
    100100
    101         md = loadmodel('./Models/PIG.Parameterization');
     101        md = loadmodel('./Models/PIG_Parameterization');
    102102
    103103        % Control general
     
    137137
    138138        % Save model
    139         save ./Models/PIG.Control_drag md;
     139        save ./Models/PIG_Control_drag md;
    140140end
    141141
    142142if step==5 %Plot #5
    143143
    144         md = loadmodel('./Models/PIG.Control_drag');
     144        md = loadmodel('./Models/PIG_Control_drag');
    145145
    146146        plotmodel(md,'nlines',2,'ncols',2,'unit#all','km','axis#all','equal',...
     
    175175if step==7  %Plot #7
    176176
    177         mdHO = loadmodel('./Models/PIG.ModelHO');
    178         mdSSA = loadmodel('./Models/PIG.Control_drag');
     177        mdHO = loadmodel('./Models/PIG_ModelHO');
     178        mdSSA = loadmodel('./Models/PIG_Control_drag');
    179179
    180180        basal=find(mdHO.mesh.vertexonbase);
Note: See TracChangeset for help on using the changeset viewer.