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
RevLine 
[19049]1#Test Name: SquareShelfConstrainedStressSSA3dAdolc
[13455]2from model import *
3from triangle import *
4from setmask import *
5from parameterize import *
6from setflowequation import *
[13900]7from EnumDefinitions import *
[13455]8from solve import *
[13900]9from MatlabFuncs import *
[13455]10
[13900]11md=triangle(model(),'../Exp/Square.exp',180000.)
[13455]12md=setmask(md,'all','')
13md=parameterize(md,'../Par/SquareShelfConstrained.py')
[13672]14md.extrude(3,2.)
[15565]15md=setflowequation(md,'SSA','all')
[14879]16md.cluster=generic('name',oshostname(),'np',1)
[13900]17md.autodiff.isautodiff=True
[16192]18md.toolkits.DefaultAnalysis=issmgslsolver()
[15771]19md=solve(md,StressbalanceSolutionEnum())
[13455]20
[13900]21#Fields and tolerances to track changes
[13455]22field_names =['Vx','Vy','Vz','Vel','Pressure']
23field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13]
24field_values=[\
[15771]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,\
[13455]30 ]
Note: See TracBrowser for help on using the repository browser.