source: issm/trunk-jpl/test/NightlyRun/test226.m

Last change on this file was 21787, checked in by Mathieu Morlighem, 8 years ago

NEW: created new class for time adaptation

File size: 1.7 KB
Line 
1%Test Name: SquareShelfTranCflSSA2d
2md=triangle(model(),'../Exp/Square.exp',150000.);
3md=setmask(md,'all','');
4md=parameterize(md,'../Par/SquareShelf.par');
5md=setflowequation(md,'SSA','all');
6md.cluster=generic('name',oshostname(),'np',3);
7md.timestepping = timesteppingadaptive(md.timestepping);
8md.timestepping.final_time=15.;
9md=solve(md,'Transient');
10
11%Fields and tolerances to track changes
12field_names ={'Vx1','Vy1','Vel1','Pressure1','Bed1','Surface1','Thickness1','Vx2','Vy2','Vel2','Pressure2','Bed2','Surface2','Thickness2','Vx3','Vy3','Vel3','Pressure3','Bed3','Surface3','Thickness3'};
13field_tolerances={1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13};
14field_values={...
15 (md.results.TransientSolution(1).Vx),...
16 (md.results.TransientSolution(1).Vy),...
17 (md.results.TransientSolution(1).Vel),...
18 (md.results.TransientSolution(1).Pressure),...
19 (md.results.TransientSolution(1).Base),...
20 (md.results.TransientSolution(1).Surface),...
21 (md.results.TransientSolution(1).Thickness),...
22 (md.results.TransientSolution(2).Vx),...
23 (md.results.TransientSolution(2).Vy),...
24 (md.results.TransientSolution(2).Vel),...
25 (md.results.TransientSolution(2).Pressure),...
26 (md.results.TransientSolution(2).Base),...
27 (md.results.TransientSolution(2).Surface),...
28 (md.results.TransientSolution(2).Thickness),...
29 (md.results.TransientSolution(3).Vx),...
30 (md.results.TransientSolution(3).Vy),...
31 (md.results.TransientSolution(3).Vel),...
32 (md.results.TransientSolution(3).Pressure),...
33 (md.results.TransientSolution(3).Base),...
34 (md.results.TransientSolution(3).Surface),...
35 (md.results.TransientSolution(3).Thickness),...
36 };
Note: See TracBrowser for help on using the repository browser.