|
Last change
on this file since 21049 was 21049, checked in by agscott1, 9 years ago |
|
CHG: Replaced Enums with Strings in matlab and python. Updated corresponding cpp code.
|
|
File size:
700 bytes
|
| Line | |
|---|
| 1 | #Test Name: SquareShelfConstrainedBedSlop2d
|
|---|
| 2 | from model import *
|
|---|
| 3 | from triangle import *
|
|---|
| 4 | from setmask import *
|
|---|
| 5 | from parameterize import *
|
|---|
| 6 | from setflowequation import *
|
|---|
| 7 | from EnumDefinitions import *
|
|---|
| 8 | from solve import *
|
|---|
| 9 | from MatlabFuncs import *
|
|---|
| 10 |
|
|---|
| 11 | md=triangle(model(),'../Exp/Square.exp',150000)
|
|---|
| 12 | md=setmask(md,'all','')
|
|---|
| 13 | md=parameterize(md,'../Par/SquareShelfConstrained.py')
|
|---|
| 14 | md=setflowequation(md,'SSA','all')
|
|---|
| 15 | md.cluster=generic('name',oshostname(),'np',3)
|
|---|
| 16 | md=solve(md,'BedSlopeSolution')
|
|---|
| 17 |
|
|---|
| 18 | #Fields and tolerances to track changes
|
|---|
| 19 | field_names =['BedSlopeX','BedSlopeY']
|
|---|
| 20 | field_tolerances=[1e-13,1e-13]
|
|---|
| 21 | field_values=[\
|
|---|
| 22 | md.results.BedSlopeSolution.BedSlopeX,\
|
|---|
| 23 | md.results.BedSlopeSolution.BedSlopeY,\
|
|---|
| 24 | ]
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.