source: issm/trunk/test/NightlyRun/test203.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: 839 bytes
RevLine 
[13491]1from MatlabFuncs import *
2from model import *
3from EnumDefinitions import *
4from numpy import *
5from triangle import *
6from setmask import *
7from parameterize import *
8from setflowequation import *
9from solve import *
10
11md=triangle(model(),'../Exp/Square.exp',180000)
12md=setmask(md,'all','')
13md=parameterize(md,'../Par/SquareShelf.py')
[13672]14md.extrude(3,2.)
[16137]15md=setflowequation(md,'HO','all')
[13491]16md.cluster=generic('name',oshostname(),'np',3)
[16137]17md=solve(md,StressbalanceSolutionEnum())
[13491]18
19
20# Fields and tolerances to track changes
21
22field_names =['Vx','Vy','Vz','Vel','Pressure']
23field_tolerances=[1e-09,1e-09,1e-09,1e-09,1e-09]
24field_values=[\
[16137]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,\
[13491]30 ]
Note: See TracBrowser for help on using the repository browser.