Changeset 20754
- Timestamp:
- 06/16/16 12:36:19 (9 years ago)
- Location:
- issm/trunk-jpl/examples/Pig
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/examples/Pig/Help.m
r20751 r20754 1 1 if step==6 2 md = loadmodel('./Models/PIG .Control_drag');2 md = loadmodel('./Models/PIG_Control_drag'); 3 3 md.inversion.iscontrol=0; 4 4 … … 12 12 md=solve(md,StressbalanceSolutionEnum); 13 13 14 save ./Models/PIG .ModelHO md;14 save ./Models/PIG_ModelHO md; 15 15 end -
issm/trunk-jpl/examples/Pig/Pig.par
r20750 r20754 44 44 md.geometry.surface=md.geometry.thickness+md.geometry.base; 45 45 md.geometry.bed=md.geometry.base; 46 md.geometry.bed(pos)=md.geometry.base(pos)- 100;46 md.geometry.bed(pos)=md.geometry.base(pos)-200; 47 47 48 48 %Initialization parameters -
issm/trunk-jpl/examples/Pig/runme.m
r20751 r20754 1 step=[ 5];1 step=[7]; 2 2 3 3 if step==1 %Mesh Generation #1 … … 53 53 54 54 % Save model 55 save ./Models/PIG .Mesh_generation md;55 save ./Models/PIG_Mesh_generation md; 56 56 end 57 57 58 58 if step==2 %Masks #2 59 59 60 md = loadmodel('./Models/PIG .Mesh_generation');60 md = loadmodel('./Models/PIG_Mesh_generation'); 61 61 62 62 % Load SeaRISe dataset for Antarctica … … 82 82 83 83 % Save model 84 save ./Models/PIG .SetMask md;84 save ./Models/PIG_SetMask md; 85 85 end 86 86 87 87 if step==3 %Parameterization #3 88 88 89 md = loadmodel('./Models/PIG .SetMask');89 md = loadmodel('./Models/PIG_SetMask'); 90 90 md = parameterize(md,'./Pig.par'); 91 91 … … 94 94 95 95 % Save model 96 save ./Models/PIG .Parameterization md;96 save ./Models/PIG_Parameterization md; 97 97 end 98 98 99 99 if step==4 %Control Method #4 100 100 101 md = loadmodel('./Models/PIG .Parameterization');101 md = loadmodel('./Models/PIG_Parameterization'); 102 102 103 103 % Control general … … 137 137 138 138 % Save model 139 save ./Models/PIG .Control_drag md;139 save ./Models/PIG_Control_drag md; 140 140 end 141 141 142 142 if step==5 %Plot #5 143 143 144 md = loadmodel('./Models/PIG .Control_drag');144 md = loadmodel('./Models/PIG_Control_drag'); 145 145 146 146 plotmodel(md,'nlines',2,'ncols',2,'unit#all','km','axis#all','equal',... … … 175 175 if step==7 %Plot #7 176 176 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'); 179 179 180 180 basal=find(mdHO.mesh.vertexonbase);
Note:
See TracChangeset
for help on using the changeset viewer.