source: issm/oecreview/Archive/12678-13393/ISSM-13244-13245.diff

Last change on this file was 13394, checked in by Mathieu Morlighem, 13 years ago

Added 12678-13393

File size: 1.2 KB
  • u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/test/NightlyRun/test104.py

     
     1from model import *
     2from triangle import *
     3from setmask import *
     4from parameterize import *
     5from setflowequation import *
     6from EnumDefinitions import *
     7from solve import *
     8from MatlabFuncs import *
     9
     10md=triangle(model(),'../Exp/Square.exp',180000)
     11md=setmask(md,'all','')
     12md=parameterize(md,'../Par/SquareShelfConstrained.py')
     13md.extrude(3,2)
     14md=setflowequation(md,'stokes','all')
     15md.cluster=generic('name',oshostname(),'np',3)
     16md=solve(md,DiagnosticSolutionEnum())
     17
     18#Fields and tolerances to track changes
     19field_names     =['Vx','Vy','Vz','Vel','Pressure']
     20field_tolerances=[1e-08,1e-08,1e-07,1e-08,1e-08]
     21field_values=[\
     22        md.results['DiagnosticSolution'][1]['Vx'],\
     23        md.results['DiagnosticSolution'][1]['Vy'],\
     24        md.results['DiagnosticSolution'][1]['Vz'],\
     25        md.results['DiagnosticSolution'][1]['Vel'],\
     26        md.results['DiagnosticSolution'][1]['Pressure'],\
     27        ]
Note: See TracBrowser for help on using the repository browser.