source: issm/trunk-jpl/test/NightlyRun/test505.m@ 13663

Last change on this file since 13663 was 13663, checked in by Mathieu Morlighem, 12 years ago

CHG: cosmetics on matlab file (model -> model(); Enum -> Enum())

File size: 1.7 KB
Line 
1md=triangle(model,'../Exp/Pig.exp',30000.);
2md=setmask(md,'../Exp/PigShelves.exp','../Exp/PigIslands.exp');
3md=parameterize(md,'../Par/Pig.par');
4md=extrude(md,3,1.);
5md=setflowequation(md,'macayeal','all');
6md.cluster=generic('name',oshostname(),'np',3);
7md=solve(md,TransientSolutionEnum());
8
9%Fields and tolerances to track changes
10field_names ={'Vx1','Vy1','Vz1','Vel1','Pressure1','Bed1','Surface1','Thickness1','Temperature1','BasalforcingsMeltingRate1', ...
11 'Vx2','Vy2','Vz2','Vel2','Pressure2','Bed2','Surface2','Thickness2','Temperature2','BasalforcingsMeltingRate2'};
12field_tolerances={1e-12,1e-12,1e-12,1e-12,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-12,1e-12,1e-12,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13};
13field_values={...
14 (md.results.TransientSolution(1).Vx),...
15 (md.results.TransientSolution(1).Vy),...
16 (md.results.TransientSolution(1).Vz),...
17 (md.results.TransientSolution(1).Vel),...
18 (md.results.TransientSolution(1).Pressure),...
19 (md.results.TransientSolution(1).Bed),...
20 (md.results.TransientSolution(1).Surface),...
21 (md.results.TransientSolution(1).Thickness),...
22 (md.results.TransientSolution(1).Temperature),...
23 (md.results.TransientSolution(1).BasalforcingsMeltingRate),...
24 (md.results.TransientSolution(2).Vx),...
25 (md.results.TransientSolution(2).Vy),...
26 (md.results.TransientSolution(2).Vz),...
27 (md.results.TransientSolution(2).Vel),...
28 (md.results.TransientSolution(2).Pressure),...
29 (md.results.TransientSolution(2).Bed),...
30 (md.results.TransientSolution(2).Surface),...
31 (md.results.TransientSolution(2).Thickness),...
32 (md.results.TransientSolution(2).Temperature),...
33 (md.results.TransientSolution(2).BasalforcingsMeltingRate),...
34 };
Note: See TracBrowser for help on using the repository browser.