source: issm/branches/trunk-larour-NatGeoScience2016/test/NightlyRun/test3006.py@ 21759

Last change on this file since 21759 was 21759, checked in by Eric.Larour, 8 years ago

CHG: merged branch back to trunk-jpl 21754.

File size: 789 bytes
RevLine 
[19049]1#Test Name: SquareShelfConstrainedMasstransp2dDGAdolc
[13455]2from model import *
[21759]3from socket import gethostname
[13455]4from triangle import *
5from meshconvert import *
6from setmask import *
7from parameterize import *
8from setflowequation import *
9from solve import *
10
[21759]11
[13900]12md=triangle(model(),'../Exp/Square.exp',150000.)
[13455]13md=meshconvert(md)
14md=setmask(md,'all','')
15md=parameterize(md,'../Par/SquareShelfConstrained.py')
[15565]16md=setflowequation(md,'SSA','all')
[21759]17md.cluster=generic('name',gethostname(),'np',1)
[15767]18md.masstransport.stabilization=3
19md.masstransport.spcthickness=md.geometry.thickness
[13900]20md.autodiff.isautodiff=True
[21056]21md=solve(md,'Masstransport')
[13455]22
[13900]23#Fields and tolerances to track changes
[13455]24field_names =['Thickness']
25field_tolerances=[1e-13]
26field_values=[\
[15767]27 md.results.MasstransportSolution.Thickness,\
[13455]28 ]
Note: See TracBrowser for help on using the repository browser.