source: issm/trunk/test/NightlyRun/test263.m@ 10981

Last change on this file since 10981 was 10981, checked in by Eric.Larour, 13 years ago

merged trunk-jpl and trunk for revision 10980

File size: 1.2 KB
Line 
1md=setmesh(model,'../Exp/Square.exp',180000);
2md=setmask(md,'all','');
3md=parameterize(md,'../Par/SquareShelf.par');
4md=extrude(md,3,1);
5md=setflowequation(md,'macayeal','all');
6md.cluster=none;
7md.thermal.spctemperature=[md.thermal.spctemperature, md.thermal.spctemperature+5, md.thermal.spctemperature+10, md.thermal.spctemperature+15; 1.5 2.5 3.5 4];
8md.timestepping.time_step=1;
9md.timestepping.final_time=4;
10md=solve(md,ThermalSolutionEnum);
11
12%Fields and tolerances to track changes
13field_names ={'Temperature1','BasalforcingsMeltingRate1','Temperature2','BasalforcingsMeltingRate2','Temperature3','BasalforcingsMeltingRate3','Temperature4','BasalforcingsMeltingRate4'};
14field_tolerances={1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13};
15field_values={...
16 (md.results.ThermalSolution(1).Temperature),...
17 (md.results.ThermalSolution(1).BasalforcingsMeltingRate),...
18 (md.results.ThermalSolution(2).Temperature),...
19 (md.results.ThermalSolution(2).BasalforcingsMeltingRate),...
20 (md.results.ThermalSolution(3).Temperature),...
21 (md.results.ThermalSolution(3).BasalforcingsMeltingRate),...
22 (md.results.ThermalSolution(4).Temperature),...
23 (md.results.ThermalSolution(4).BasalforcingsMeltingRate),...
24 };
Note: See TracBrowser for help on using the repository browser.