compass.ocean.tests.global_ocean.threads_test.ThreadsTest

class compass.ocean.tests.global_ocean.threads_test.ThreadsTest(test_group, mesh, init, time_integrator)[source]

A test case for performing two short forward runs to make sure the results are identical with 1 and 2 thread per MPI process

__init__(test_group, mesh, init, time_integrator)[source]

Create test case

Parameters

Methods

__init__(test_group, mesh, init, time_integrator)

Create 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 testcase

validate()

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