compass.ocean.tests.global_ocean.mesh.so12to60.dynamic_adjustment.SO12to60DynamicAdjustment¶
- class compass.ocean.tests.global_ocean.mesh.so12to60.dynamic_adjustment.SO12to60DynamicAdjustment(test_group, mesh, init, time_integrator)[source]¶
A test case performing dynamic adjustment (dissipating fast-moving waves) from an initial condition on the SO12to60 MPAS-Ocean mesh
- Variables
restart_filenames (list of str) – A list of restart files from each dynamic-adjustment step
- __init__(test_group, mesh, init, time_integrator)[source]¶
Create the test case
- Parameters
test_group (compass.ocean.tests.global_ocean.GlobalOcean) – The global ocean test group that this test case belongs to
mesh (compass.ocean.tests.global_ocean.mesh.Mesh) – The test case that produces the mesh for this run
init (compass.ocean.tests.global_ocean.init.Init) – The test case that produces the initial condition for this run
time_integrator ({'split_explicit', 'RK4'}) – The time integrator to use for the forward run
Methods
__init__
(test_group, mesh, init, time_integrator)Create the test case
add_step
(step[, run_by_default])Add a step to the test case
check_validation
()Check the test case's "validation" dictionary to see if validation failed.
Modify the configuration options for this test case
run
()Run each step of the testcase
validate
()Test cases can override this method to perform validation of variables and timers