source: issm/trunk-jpl/test/NightlyRun/test313.py@ 21049

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: 991 bytes
Line 
1#Test Name: SquareSheetConstrainedTherTran
2from model import *
3from triangle import *
4from setmask import *
5from parameterize import *
6from setflowequation import *
7from EnumDefinitions import *
8from solve import *
9from MatlabFuncs import *
10
11md=triangle(model(),'../Exp/Square.exp',180000.)
12md=setmask(md,'','')
13md=parameterize(md,'../Par/SquareSheetConstrained.py')
14md.extrude(3,1.)
15md=setflowequation(md,'SSA','all')
16md.cluster=generic('name',oshostname(),'np',3)
17md.verbose=verbose('convergence',True,'solution',True)
18md.transient.isstressbalance=False
19md.transient.ismasstransport=False
20md.transient.issmb=True
21md.transient.isthermal=True
22md.transient.isgroundingline=False
23md=solve(md,'TransientSolution')
24
25#Fields and tolerances to track changes
26field_names =['Temperature','BasalforcingsGroundediceMeltingRate']
27field_tolerances=[1e-13,1e-13]
28field_values=[\
29 md.results.TransientSolution[0].Temperature,\
30 md.results.TransientSolution[0].BasalforcingsGroundediceMeltingRate,\
31 ]
Note: See TracBrowser for help on using the repository browser.