compass.landice.tests.dome.decomposition_test.DecompositionTest¶
- class compass.landice.tests.dome.decomposition_test.DecompositionTest(test_group, velo_solver, mesh_type)[source]¶
A test case for performing two MALI runs of a dome setup, one with one core and one with four. The test case verifies that the results of the two runs are identical.
- Variables:
mesh_type (str) – The resolution or type of mesh of the test case
- __init__(test_group, velo_solver, mesh_type)[source]¶
Create the test case
- Parameters:
test_group (compass.landice.tests.dome.Dome) – The test group that this test case belongs to
velo_solver ({'sia', 'FO'}) – The velocity solver to use for the test case
mesh_type (str) – The resolution or type of mesh of the test case
Methods
__init__
(test_group, velo_solver, mesh_type)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.
configure
()Modify the configuration options for this test case.
run
()This method is deprecated.
validate
()Test cases can override this method to perform validation of variables and timers