compass.landice.tests.eismint2.decomposition_test.DecompositionTest

class compass.landice.tests.eismint2.decomposition_test.DecompositionTest(test_group, thermal_solver)[source]

A test case for performing two MALI runs of a EISMINT2 setup, one with one core and one with four. The test case verifies that the results of the two runs are identical.

__init__(test_group, thermal_solver)[source]

Create the test case

Parameters
  • test_group (compass.landice.tests.eismint2.Eismint2) – The test group that this test case belongs to

  • thermal_solver ({'temperature', 'enthalpy'}) – The formulation of the thermodynamics to use

Methods

__init__(test_group, thermal_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.

configure()

Modify the configuration options for this test case.

run()

Run each step of the test case.

validate()

Test cases can override this method to perform validation of variables and timers