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