Last change
on this file since 19105 was 19105, checked in by Mathieu Morlighem, 10 years ago |
merged trunk-jpl and trunk for revision 19103
|
File size:
737 bytes
|
Line | |
---|
1 | #Test Name: 79NorthSurfSlop2d
|
---|
2 | import numpy
|
---|
3 | from model import *
|
---|
4 | from EnumDefinitions import *
|
---|
5 | from MatlabFuncs import *
|
---|
6 | from triangle import *
|
---|
7 | from setmask import *
|
---|
8 | from parameterize import *
|
---|
9 | from setflowequation import *
|
---|
10 | from solve import *
|
---|
11 |
|
---|
12 | md=triangle(model(),'../Exp/79North.exp',10000.)
|
---|
13 | md=setmask(md,'../Exp/79NorthShelf.exp','')
|
---|
14 | md=parameterize(md,'../Par/79North.py')
|
---|
15 | md=setflowequation(md,'SSA','all')
|
---|
16 | md.cluster=generic('name',oshostname(),'np',3)
|
---|
17 | md=solve(md,SurfaceSlopeSolutionEnum())
|
---|
18 |
|
---|
19 | #Fields and tolerances to track changes
|
---|
20 | field_names =['SurfaceSlopeX','SurfaceSlopeY']
|
---|
21 | field_tolerances=[1e-13,1e-13]
|
---|
22 | field_values=[\
|
---|
23 | md.results.SurfaceSlopeSolution.SurfaceSlopeX,\
|
---|
24 | md.results.SurfaceSlopeSolution.SurfaceSlopeY,\
|
---|
25 | ]
|
---|
Note:
See
TracBrowser
for help on using the repository browser.