source: issm/trunk-jpl/test/NightlyRun/test114.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: 704 bytes
RevLine 
[19049]1#Test Name: SquareShelfConstrainedBedSlop2d
[13280]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',150000)
12md=setmask(md,'all','')
13md=parameterize(md,'../Par/SquareShelfConstrained.py')
[15565]14md=setflowequation(md,'SSA','all')
[13280]15md.cluster=generic('name',oshostname(),'np',3)
16md=solve(md,BedSlopeSolutionEnum())
17
18#Fields and tolerances to track changes
19field_names =['BedSlopeX','BedSlopeY']
20field_tolerances=[1e-13,1e-13]
21field_values=[\
[13967]22 md.results.BedSlopeSolution.BedSlopeX,\
23 md.results.BedSlopeSolution.BedSlopeY,\
[13280]24 ]
Note: See TracBrowser for help on using the repository browser.