source: issm/trunk/test/NightlyRun/test402.py@ 16137

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

merged trunk-jpl and trunk for revision 16135

File size: 855 bytes
Line 
1import numpy
2from model import *
3from EnumDefinitions import *
4from MatlabFuncs import *
5from triangle import *
6from setmask import *
7from parameterize import *
8from setflowequation import *
9from solve import *
10
11md=triangle(model(),'../Exp/Square.exp',150000.)
12md=setmask(md,'../Exp/SquareShelf.exp','')
13md=parameterize(md,'../Par/SquareSheetShelf.py')
14md.extrude(4,1.)
15md=setflowequation(md,'SSA','all')
16md.cluster=generic('name',oshostname(),'np',3)
17md=solve(md,StressbalanceSolutionEnum())
18
19#Fields and tolerances to track changes
20field_names =['Vx','Vy','Vz','Vel','Pressure']
21field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13]
22field_values=[\
23 md.results.StressbalanceSolution.Vx,\
24 md.results.StressbalanceSolution.Vy,\
25 md.results.StressbalanceSolution.Vz,\
26 md.results.StressbalanceSolution.Vel,\
27 md.results.StressbalanceSolution.Pressure,\
28 ]
Note: See TracBrowser for help on using the repository browser.