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:
665 bytes
|
Line | |
---|
1 | from model import *
|
---|
2 | from triangle import *
|
---|
3 | from setmask import *
|
---|
4 | from parameterize import *
|
---|
5 | from setflowequation import *
|
---|
6 | from EnumDefinitions import *
|
---|
7 | from solve import *
|
---|
8 | from MatlabFuncs import *
|
---|
9 |
|
---|
10 | md=triangle(model(),'../Exp/Square.exp',150000)
|
---|
11 | md=setmask(md,'all','')
|
---|
12 | md=parameterize(md,'../Par/SquareShelfConstrained.py')
|
---|
13 | md=setflowequation(md,'macayeal','all')
|
---|
14 | md.cluster=generic('name',oshostname(),'np',3)
|
---|
15 | md=solve(md,BedSlopeSolutionEnum())
|
---|
16 |
|
---|
17 | #Fields and tolerances to track changes
|
---|
18 | field_names =['BedSlopeX','BedSlopeY']
|
---|
19 | field_tolerances=[1e-13,1e-13]
|
---|
20 | field_values=[\
|
---|
21 | md.results.BedSlopeSolution.BedSlopeX,\
|
---|
22 | md.results.BedSlopeSolution.BedSlopeY,\
|
---|
23 | ]
|
---|
Note:
See
TracBrowser
for help on using the repository browser.