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

Last change on this file since 14879 was 14879, checked in by Eric.Larour, 12 years ago

CHG: switching adolc runs to 1 cpu only, not that the issmsolver is fully on in the toolkits

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