source: issm/oecreview/Archive/15392-16133/ISSM-15523-15524.diff@ 16134

Last change on this file since 16134 was 16134, checked in by Mathieu Morlighem, 12 years ago

Added Archive/15392-16133

File size: 3.7 KB
RevLine 
[16134]1Index: ../trunk-jpl/test/NightlyRun/IdToName.m
2===================================================================
3--- ../trunk-jpl/test/NightlyRun/IdToName.m (revision 15523)
4+++ ../trunk-jpl/test/NightlyRun/IdToName.m (revision 15524)
5@@ -133,6 +133,7 @@
6 case 431, name='SquareSheetShelfSteaEnthalpyM3d';
7 case 432, name='SquareSheetShelfSteaEnthalpyP3d';
8 case 433, name='RoundSheetShelfGLMigrationM3d';
9+ case 434, name='SquareSheetShelfL1L2';
10 case 501, name='PigDiagM2d';
11 case 502, name='PigDiagP3d';
12 case 503, name='PigDiagS3d';
13Index: ../trunk-jpl/test/NightlyRun/test434.py
14===================================================================
15--- ../trunk-jpl/test/NightlyRun/test434.py (revision 0)
16+++ ../trunk-jpl/test/NightlyRun/test434.py (revision 15524)
17@@ -0,0 +1,28 @@
18+import numpy
19+from model import *
20+from EnumDefinitions import *
21+from MatlabFuncs import *
22+from triangle import *
23+from setmask import *
24+from parameterize import *
25+from setflowequation import *
26+from solve import *
27+
28+md=triangle(model(),'../Exp/Square.exp',150000.)
29+md=setmask(md,'../Exp/SquareShelf.exp','')
30+md=parameterize(md,'../Par/SquareSheetShelf.py')
31+md.extrude(4,1.)
32+md=setflowequation(md,'l1l2','all')
33+md.cluster=generic('name',oshostname(),'np',3)
34+md=solve(md,DiagnosticSolutionEnum())
35+
36+#Fields and tolerances to track changes
37+field_names =['Vx','Vy','Vz','Vel','Pressure']
38+field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13]
39+field_values=[\
40+ md.results.DiagnosticSolution.Vx,\
41+ md.results.DiagnosticSolution.Vy,\
42+ md.results.DiagnosticSolution.Vz,\
43+ md.results.DiagnosticSolution.Vel,\
44+ md.results.DiagnosticSolution.Pressure,\
45+ ]
46Index: ../trunk-jpl/test/NightlyRun/IdToName.py
47===================================================================
48--- ../trunk-jpl/test/NightlyRun/IdToName.py (revision 15523)
49+++ ../trunk-jpl/test/NightlyRun/IdToName.py (revision 15524)
50@@ -133,6 +133,7 @@
51 431 : 'SquareSheetShelfSteaEnthalpyM3d',
52 432 : 'SquareSheetShelfSteaEnthalpyP3d',
53 433 : 'RoundSheetShelfGLMigrationM3d',
54+ 434 : 'SquareSheetShelfDiagL1L2',
55 501 : 'PigDiagM2d',
56 502 : 'PigDiagP3d',
57 503 : 'PigDiagS3d',
58Index: ../trunk-jpl/test/NightlyRun/test434.m
59===================================================================
60--- ../trunk-jpl/test/NightlyRun/test434.m (revision 0)
61+++ ../trunk-jpl/test/NightlyRun/test434.m (revision 15524)
62@@ -0,0 +1,18 @@
63+md=triangle(model(),'../Exp/Square.exp',150000.);
64+md=setmask(md,'../Exp/SquareShelf.exp','');
65+md=parameterize(md,'../Par/SquareSheetShelf.par');
66+md=extrude(md,4,1.);
67+md=setflowequation(md,'l1l2','all');
68+md.cluster=generic('name',oshostname(),'np',3);
69+md=solve(md,DiagnosticSolutionEnum());
70+
71+%Fields and tolerances to track changes
72+field_names ={'Vx','Vy','Vz','Vel','Pressure'};
73+field_tolerances={1e-13,1e-13,1e-13,1e-13,1e-13};
74+field_values={...
75+ (md.results.DiagnosticSolution.Vx),...
76+ (md.results.DiagnosticSolution.Vy),...
77+ (md.results.DiagnosticSolution.Vz),...
78+ (md.results.DiagnosticSolution.Vel),...
79+ (md.results.DiagnosticSolution.Pressure),...
80+ };
81Index: ../trunk-jpl/test/Archives/Archive434.nc
82===================================================================
83Cannot display: file marked as a binary type.
84svn:mime-type = application/octet-stream
85Index: ../trunk-jpl/test/Archives/Archive434.nc
86===================================================================
87--- ../trunk-jpl/test/Archives/Archive434.nc (revision 15523)
88+++ ../trunk-jpl/test/Archives/Archive434.nc (revision 15524)
89
90Property changes on: ../trunk-jpl/test/Archives/Archive434.nc
91___________________________________________________________________
92Added: svn:mime-type
93## -0,0 +1 ##
94+application/octet-stream
95\ No newline at end of property
Note: See TracBrowser for help on using the repository browser.