|
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:
661 bytes
|
| Line | |
|---|
| 1 | #Test Name: 79NorthBalThic2d
|
|---|
| 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,'BalancethicknessSolution')
|
|---|
| 18 |
|
|---|
| 19 | #Fields and tolerances to track changes
|
|---|
| 20 | field_names =['Thickness']
|
|---|
| 21 | field_tolerances=[1e-12]
|
|---|
| 22 | field_values=[\
|
|---|
| 23 | md.results.BalancethicknessSolution.Thickness,\
|
|---|
| 24 | ]
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.