@@ -125,6 +125,34 @@ def __init__(self, mpas_core):
125125 test_group = self , mesh = mesh , init = init ,
126126 time_integrator = time_integrator ))
127127
128+ # tests with cached meshes and initial conditions
129+ mesh = Mesh (test_group = self , mesh_name = mesh_name ,
130+ cached = True )
131+ self .add_test_case (mesh )
132+
133+ init = Init (test_group = self , mesh = mesh ,
134+ initial_condition = 'PHC' ,
135+ with_bgc = False , cached = True )
136+ self .add_test_case (init )
137+
138+ time_integrator = 'split_explicit'
139+ self .add_test_case (
140+ PerformanceTest (
141+ test_group = self , mesh = mesh , init = init ,
142+ time_integrator = time_integrator ))
143+ self .add_test_case (
144+ RestartTest (
145+ test_group = self , mesh = mesh , init = init ,
146+ time_integrator = time_integrator ))
147+ self .add_test_case (
148+ DecompTest (
149+ test_group = self , mesh = mesh , init = init ,
150+ time_integrator = time_integrator ))
151+ self .add_test_case (
152+ ThreadsTest (
153+ test_group = self , mesh = mesh , init = init ,
154+ time_integrator = time_integrator ))
155+
128156 # for other meshes, we do fewer tests
129157 for mesh_name in ['EC30to60' , 'ECwISC30to60' ]:
130158 mesh = Mesh (test_group = self , mesh_name = mesh_name )
@@ -149,6 +177,22 @@ def __init__(self, mpas_core):
149177 test_group = self , mesh = mesh , init = init ,
150178 dynamic_adjustment = dynamic_adjustment ))
151179
180+ # tests with cached meshes and initial conditions
181+ mesh = Mesh (test_group = self , mesh_name = mesh_name ,
182+ cached = True )
183+ self .add_test_case (mesh )
184+
185+ init = Init (test_group = self , mesh = mesh ,
186+ initial_condition = 'PHC' ,
187+ with_bgc = False , cached = True )
188+ self .add_test_case (init )
189+
190+ time_integrator = 'split_explicit'
191+ self .add_test_case (
192+ PerformanceTest (
193+ test_group = self , mesh = mesh , init = init ,
194+ time_integrator = time_integrator ))
195+
152196 # SOwISC12to60: just the version with cavities for now
153197 for mesh_name in ['SOwISC12to60' ]:
154198 mesh = Mesh (test_group = self , mesh_name = mesh_name )
@@ -172,6 +216,23 @@ def __init__(self, mpas_core):
172216 test_group = self , mesh = mesh , init = init ,
173217 dynamic_adjustment = dynamic_adjustment ))
174218
219+ # tests with cached meshes and initial conditions,
220+ # not yet supported as we work out some output issues
221+ # mesh = Mesh(test_group=self, mesh_name=mesh_name,
222+ # cached=True)
223+ # self.add_test_case(mesh)
224+
225+ # init = Init(test_group=self, mesh=mesh,
226+ # initial_condition='PHC',
227+ # with_bgc=False, cached=True)
228+ # self.add_test_case(init)
229+
230+ # time_integrator = 'split_explicit'
231+ # self.add_test_case(
232+ # PerformanceTest(
233+ # test_group=self, mesh=mesh, init=init,
234+ # time_integrator=time_integrator))
235+
175236 # WC14: just the version without cavities
176237 for mesh_name in ['WC14' ]:
177238 mesh = Mesh (test_group = self , mesh_name = mesh_name )
@@ -195,5 +256,21 @@ def __init__(self, mpas_core):
195256 test_group = self , mesh = mesh , init = init ,
196257 dynamic_adjustment = dynamic_adjustment ))
197258
259+ # tests with cached meshes and initial conditions
260+ mesh = Mesh (test_group = self , mesh_name = mesh_name ,
261+ cached = True )
262+ self .add_test_case (mesh )
263+
264+ init = Init (test_group = self , mesh = mesh ,
265+ initial_condition = 'PHC' ,
266+ with_bgc = False , cached = True )
267+ self .add_test_case (init )
268+
269+ time_integrator = 'split_explicit'
270+ self .add_test_case (
271+ PerformanceTest (
272+ test_group = self , mesh = mesh , init = init ,
273+ time_integrator = time_integrator ))
274+
198275 # A test case for making diagnostics files from an existing mesh
199276 self .add_test_case (MakeDiagnosticsFiles (test_group = self ))
0 commit comments