compass.ocean.tests.sphere_transport.rotation_2d.Rotation2D¶
- class compass.ocean.tests.sphere_transport.rotation_2d.Rotation2D(test_group)[source]¶
A test case for 2D transport on the sphere
- __init__(test_group)[source]¶
Create test case for creating a global MPAS-Ocean mesh
- Parameters:
test_group (compass.ocean.tests.sphere_transport.SphereTransport) – The test group that this case belongs to
Methods
__init__
(test_group)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.
Set config options for the test case
run
()This method is deprecated.
update_cores
()Update the number of cores and min_tasks for each forward step
validate
()Test cases can override this method to perform validation of variables and timers