compass.landice.tests.greenland.decomposition_test.DecompositionTest
- class compass.landice.tests.greenland.decomposition_test.DecompositionTest(test_group, velo_solver)[source]
A test case for performing two MALI runs of the Greenland Ice Sheet 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.
- Variables:
- __init__(test_group, velo_solver)[source]
Create the test case
- Parameters:
test_group (compass.landice.tests.greenland.Greenland) – The test group that this test case belongs to
velo_solver ({'sia', 'FO'}) – The velocity solver to use for the test case
Methods
__init__(test_group, velo_solver)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