Changeset 23793 for issm/trunk-jpl/test/NightlyRun/test203.py
- Timestamp:
- 03/13/19 03:17:46 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/test203.py
r23792 r23793 3 3 from model import * 4 4 from socket import gethostname 5 import numpy as np6 5 from triangle import * 7 6 from setmask import * … … 11 10 from generic import generic 12 11 13 md =triangle(model(),'../Exp/Square.exp',180000)14 md =setmask(md,'all','')15 md =parameterize(md,'../Par/SquareShelf.py')16 md.extrude(3, 2.)17 md =setflowequation(md,'HO','all')18 md.cluster =generic('name',gethostname(),'np',3)19 md =solve(md,'Stressbalance')12 md = triangle(model(), '../Exp/Square.exp', 180000) 13 md = setmask(md, 'all', '') 14 md = parameterize(md, '../Par/SquareShelf.py') 15 md.extrude(3, 2.) 16 md = setflowequation(md, 'HO', 'all') 17 md.cluster = generic('name', gethostname(), 'np', 3) 18 md = solve(md, 'Stressbalance') 20 19 21 20 22 21 # Fields and tolerances to track changes 23 22 24 field_names =['Vx','Vy','Vz','Vel','Pressure'] 25 field_tolerances=[2e-09,2e-09,1e-09,2e-09,1e-09] 26 field_values=[\ 27 md.results.StressbalanceSolution.Vx,\ 28 md.results.StressbalanceSolution.Vy,\ 29 md.results.StressbalanceSolution.Vz,\ 30 md.results.StressbalanceSolution.Vel,\ 31 md.results.StressbalanceSolution.Pressure,\ 32 ] 23 field_names = ['Vx', 'Vy', 'Vz', 'Vel', 'Pressure'] 24 field_tolerances = [2e-09, 2e-09, 1e-09, 2e-09, 1e-09] 25 field_values = [md.results.StressbalanceSolution.Vx, 26 md.results.StressbalanceSolution.Vy, 27 md.results.StressbalanceSolution.Vz, 28 md.results.StressbalanceSolution.Vel, 29 md.results.StressbalanceSolution.Pressure]
Note:
See TracChangeset
for help on using the changeset viewer.