Last change
on this file since 16137 was 16137, checked in by Mathieu Morlighem, 12 years ago |
merged trunk-jpl and trunk for revision 16135
|
File size:
773 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/Pig.exp',20000.)
|
---|
11 | md=setmask(md,'../Exp/PigShelves.exp','../Exp/PigIslands.exp')
|
---|
12 | md=parameterize(md,'../Par/Pig.py')
|
---|
13 | md=setflowequation(md,'SSA','all')
|
---|
14 | md.cluster=generic('name',oshostname(),'np',3)
|
---|
15 | md=solve(md,BalancevelocitySolutionEnum())
|
---|
16 |
|
---|
17 | # Fields and tolerances to track changes
|
---|
18 | field_names =['SurfaceSlopeX','SurfaceSlopeY','Vel']
|
---|
19 | field_tolerances=[1e-13,1e-13,1e-13]
|
---|
20 | field_values=[\
|
---|
21 | md.results.BalancevelocitySolution.SurfaceSlopeX,\
|
---|
22 | md.results.BalancevelocitySolution.SurfaceSlopeY,\
|
---|
23 | md.results.BalancevelocitySolution.Vel,\
|
---|
24 | ]
|
---|
Note:
See
TracBrowser
for help on using the repository browser.