compass.ocean.tests.hurricane.mesh.Mesh¶
- class compass.ocean.tests.hurricane.mesh.Mesh(test_group, mesh_name)[source]¶
A test case for creating a global MPAS-Ocean mesh
- Variables
mesh_step (compass.ocean.tests.global_ocean.mesh.mesh.MeshStep) – The step for creating the mesh
- __init__(test_group, mesh_name)[source]¶
Create test case for creating a global MPAS-Ocean mesh
- Parameters
test_group (compass.ocean.tests.hurricane.Hurricane) – The test group that this test case belongs to
mesh_name (str) – The name of the mesh
Methods
__init__
(test_group, mesh_name)Create test case for creating a global MPAS-Ocean mesh
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