Last change
on this file since 13280 was 13280, checked in by jschierm, 13 years ago |
NEW: Nine more working python tests\!
|
File size:
683 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'][1]['BedSlopeX'],\
|
---|
22 | md.results['BedSlopeSolution'][1]['BedSlopeY'],\
|
---|
23 | ]
|
---|
Note:
See
TracBrowser
for help on using the repository browser.