source: issm/branches/trunk-larour-NatGeoScience2016/test/NightlyRun/test531.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: 819 bytes
Line 
1#Test Name: PigBalVel2
2from model import *
3from socket import gethostname
4from triangle import *
5from setmask import *
6from parameterize import *
7from setflowequation import *
8from solve import *
9
10
11md=triangle(model(),'../Exp/Pig.exp',20000.)
12md=setmask(md,'../Exp/PigShelves.exp','../Exp/PigIslands.exp')
13md=parameterize(md,'../Par/Pig.py')
14md.initialization.vx[:]=0.
15md.initialization.vy[:]=0.
16md=setflowequation(md,'SSA','all')
17md.cluster=generic('name',gethostname(),'np',3)
18md=solve(md,'Balancevelocity')
19
20# Fields and tolerances to track changes
21field_names =['DrivingStressX','DrivingStressY','Vel']
22field_tolerances=[1e-13,1e-13,1e-13]
23field_values=[\
24 md.results.BalancevelocitySolution.DrivingStressX,\
25 md.results.BalancevelocitySolution.DrivingStressY,\
26 md.results.BalancevelocitySolution.Vel,\
27 ]
Note: See TracBrowser for help on using the repository browser.