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:
647 bytes
|
Rev | Line | |
---|
[13668] | 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')
|
---|
[13673] | 14 | md.extrude(6,1.)
|
---|
[16137] | 15 | md=setflowequation(md,'SSA','all')
|
---|
[13668] | 16 | md.cluster=generic('name',oshostname(),'np',3)
|
---|
[16137] | 17 | md=solve(md,MasstransportSolutionEnum())
|
---|
[13668] | 18 |
|
---|
| 19 | #Fields and tolerances to track changes
|
---|
| 20 | field_names =['Thickness']
|
---|
| 21 | field_tolerances=[1e-13]
|
---|
| 22 | field_values=[\
|
---|
[16137] | 23 | md.results.MasstransportSolution.Thickness,\
|
---|
[13668] | 24 | ]
|
---|
Note:
See
TracBrowser
for help on using the repository browser.