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

Last change on this file since 21049 was 21049, checked in by agscott1, 9 years ago

CHG: Replaced Enums with Strings in matlab and python. Updated corresponding cpp code.

File size: 1.7 KB
RevLine 
[19049]1%Test Name: SquareShelfTranCflSSA2d
[13670]2md=triangle(model(),'../Exp/Square.exp',150000.);
[9641]3md=setmask(md,'all','');
[7045]4md=parameterize(md,'../Par/SquareShelf.par');
[15565]5md=setflowequation(md,'SSA','all');
[8589]6md.cluster=generic('name',oshostname(),'np',3);
[13580]7md.timestepping.time_adapt=1.;
[19315]8md.timestepping.final_time=15.;
[21049]9md=solve(md,'TransientSolution');
[7045]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={...
[10976]15 (md.results.TransientSolution(1).Vx),...
16 (md.results.TransientSolution(1).Vy),...
17 (md.results.TransientSolution(1).Vel),...
18 (md.results.TransientSolution(1).Pressure),...
[17555]19 (md.results.TransientSolution(1).Base),...
[10976]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),...
[17555]26 (md.results.TransientSolution(2).Base),...
[10976]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),...
[17555]33 (md.results.TransientSolution(3).Base),...
[10976]34 (md.results.TransientSolution(3).Surface),...
35 (md.results.TransientSolution(3).Thickness),...
[7045]36 };
Note: See TracBrowser for help on using the repository browser.