source: issm/trunk-jpl/test/NightlyRun/test3002.py@ 19049

Last change on this file since 19049 was 19049, checked in by Mathieu Morlighem, 10 years ago

NEW: test name is now included in the file itself so that people don't forget to include it

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