compass.landice.tests.thwaites.decomposition_test.DecompositionTest
- class compass.landice.tests.thwaites.decomposition_test.DecompositionTest(test_group, depth_integrated=False)[source]
A test case for performing two MALI runs of the Thwaites setup with different decompositions. The larger decomposition targets up to 32 tasks, subject to available resources, and the smaller decomposition is roughly half of the larger one. The test case verifies that the results of the two runs are identical.
- Variables:
- __init__(test_group, depth_integrated=False)[source]
Create the test case
- Parameters:
test_group (compass.landice.tests.thwaites.Thwaites) – The test group that this test case belongs to
depth_integrated (bool) – Whether the (FO) velocity model is depth integrated
Methods
__init__(test_group[, depth_integrated])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.
Choose decomposition sizes from framework-detected resources and add run steps.
run()This method is deprecated.
validate()Test cases can override this method to perform validation of variables and timers