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

Last change on this file since 21060 was 21060, checked in by Mathieu Morlighem, 9 years ago

CHG: no more enums in python

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