source: issm/trunk-jpl/test/NightlyRun/test410.py@ 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.1 KB
Line 
1#Test Name: SquareSheetShelfSteaSSA3d
2import numpy
3from model import *
4from EnumDefinitions import *
5from MatlabFuncs import *
6from triangle import *
7from setmask import *
8from parameterize import *
9from setflowequation import *
10from solve import *
11
12md=triangle(model(),'../Exp/Square.exp',150000.)
13md=setmask(md,'../Exp/SquareShelf.exp','')
14md=parameterize(md,'../Par/SquareSheetShelf.py')
15md.extrude(3,2.)
16md=setflowequation(md,'SSA','all')
17md.cluster=generic('name',oshostname(),'np',3)
18md.timestepping.time_step=0
19md=solve(md,'SteadystateSolution')
20
21#Fields and tolerances to track changes
22field_names =['Vx','Vy','Vz','Vel','Pressure','Temperature','BasalforcingsGroundediceMeltingRate']
23field_tolerances=[1e-09,1e-09,1e-08,1e-09,1e-13,5e-10,1e-06]
24field_values=[\
25 md.results.SteadystateSolution.Vx,\
26 md.results.SteadystateSolution.Vy,\
27 md.results.SteadystateSolution.Vz,\
28 md.results.SteadystateSolution.Vel,\
29 md.results.SteadystateSolution.Pressure,\
30 md.results.SteadystateSolution.Temperature,\
31 md.results.SteadystateSolution.BasalforcingsGroundediceMeltingRate,\
32 ]
Note: See TracBrowser for help on using the repository browser.