compass.landice.tests.mesh_convergence.conv_test_case.ConvTestCase
- class compass.landice.tests.mesh_convergence.conv_test_case.ConvTestCase(test_group, name)[source]
A test case for various convergence tests on in MALI with planar, doubly periodic meshes
- __init__(test_group, name)[source]
Create test case for creating a MALI mesh
- Parameters:
test_group (compass.ocean.tests.mesh_convergence.MeshConvergence) – The test group that this test case belongs to
name (str) – The name of the test case
Methods
__init__(test_group, name)Create test case for creating a MALI 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
create_analysis(resolutions)Child class must override this to return an instance of a ConvergenceInit step
create_init(resolution)Child class must override this to return an instance of a ConvergenceInit step
run()This method is deprecated.
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