source: issm/trunk-jpl/test/NightlyRun/test428.py@ 13967

Last change on this file since 13967 was 13967, checked in by jschierm, 12 years ago

CHG: Updated Python test problems for new results format.

File size: 831 bytes
RevLine 
[13681]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=setflowequation(md,'macayeal','all')
15md.diagnostic.isnewton=1
16md.diagnostic.restol=0.0001
17md.cluster=generic('name',oshostname(),'np',3)
18md=solve(md,DiagnosticSolutionEnum())
19
20#Fields and tolerances to track changes
21field_names =['Vx','Vy','Vel','Pressure']
22field_tolerances=[1e-13,1e-13,1e-13,1e-13]
23field_values=[\
[13967]24 md.results.DiagnosticSolution.Vx,\
25 md.results.DiagnosticSolution.Vy,\
26 md.results.DiagnosticSolution.Vel,\
27 md.results.DiagnosticSolution.Pressure,\
[13681]28 ]
Note: See TracBrowser for help on using the repository browser.