Changeset 21129
- Timestamp:
- 08/10/16 13:57:55 (9 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/examples/Pig/runme.m
r21128 r21129 1 step =[1];1 steps=[1]; 2 2 3 if any(step ==1) %Mesh Generation #13 if any(steps==1) %Mesh Generation #1 4 4 %Mesh parameters 5 5 domain =['./DomainOutline.exp']; … … 57 57 end 58 58 59 if any(step ==2) %Masks #259 if any(steps==2) %Masks #2 60 60 61 61 md = loadmodel('./Models/PIG_Mesh_generation'); … … 86 86 end 87 87 88 if any(step ==3) %Parameterization #388 if any(steps==3) %Parameterization #3 89 89 90 90 md = loadmodel('./Models/PIG_SetMask'); … … 98 98 end 99 99 100 if any(step ==4) %Control Method #4100 if any(steps==4) %Control Method #4 101 101 102 102 md = loadmodel('./Models/PIG_Parameterization'); … … 104 104 % Control general 105 105 md.inversion.iscontrol=1; 106 md.inversion.maxsteps =20;106 md.inversion.maxstepss=20; 107 107 md.inversion.maxiter=40; 108 108 md.inversion.dxmin=0.1; … … 141 141 end 142 142 143 if any(step ==5) %Plot #5143 if any(steps==5) %Plot #5 144 144 145 145 md = loadmodel('./Models/PIG_Control_drag'); … … 158 158 end 159 159 160 if any(step ==6) %Higher-Order #6160 if any(steps==6) %Higher-Order #6 161 161 162 162 % Load Model … … 174 174 end 175 175 176 if any(step ==7) %Plot #7176 if any(steps==7) %Plot #7 177 177 178 178 mdHO = loadmodel('./Models/PIG_ModelHO'); -
issm/trunk-jpl/examples/PigSensitivity/runme.m
r21128 r21129 1 step =[1];1 steps=[1]; 2 2 3 if any(step ==1) %Transient Run #13 if any(steps==1) %Transient Run #1 4 4 5 5 md = loadmodel('../Pig/Models/PIG_Control_drag'); … … 26 26 end 27 27 28 if any(step ==2) %High Melt #228 if any(steps==2) %High Melt #2 29 29 md = loadmodel('./Models/PIG_Transient'); 30 30 … … 41 41 end 42 42 43 if any(step ==3) %Ice Front retreat43 if any(steps==3) %Ice Front retreat 44 44 md = loadmodel('./Models/PIG_Transient'); 45 45 … … 60 60 end 61 61 62 if any(step ==4) %High surface mass balance #362 if any(steps==4) %High surface mass balance #3 63 63 %Load model 64 64 -
issm/trunk-jpl/jenkins/jenkins.sh
r21128 r21129 356 356 then 357 357 $SED -i.bak 's/steps=\[1\];/steps=\[1:5\];\n\ntry\n/' $FILE 358 elif [ "${dir}" == "./Ice FlowModels" ];358 elif [ "${dir}" == "./IceflowModels" ]; 359 359 then 360 360 # Almost nothing to this example 361 $SED -i.bak '1 s/^.*$/try\n\n&/' $FILE 362 elif [ "${dir}" == "./ISMIP" ]; 363 then 364 # Eight steps... none of which are implmented in the script... 361 365 $SED -i.bak '1 s/^.*$/try\n\n&/' $FILE 362 366 elif [ "${dir}" == "./Inversion" ]; … … 388 392 then 389 393 $SED -i.bak 's/steps=\[1\];/steps=\[1:7\];\n\ntry\n/' $FILE 394 elif [ "${dir}" == "./Data" ]; 395 then 396 echo "Data directory is used by examples. No modifications required." 390 397 else 391 398 echo "Not implemented yet!"
Note:
See TracChangeset
for help on using the changeset viewer.