compass.ocean.tests.planar_convergence.conv_test_case.ConvTestCase

class compass.ocean.tests.planar_convergence.conv_test_case.ConvTestCase(test_group, name)[source]

A test case for various convergence tests on in MPAS-Ocean with planar, doubly periodic meshes

Variables:

resolutions (list of int) –

__init__(test_group, name)[source]

Create test case for creating a global MPAS-Ocean mesh

Parameters:
  • test_group (compass.ocean.tests.cosine_bell.GlobalOcean) – The global ocean test group that this test case belongs to

  • name (str) – The name of the test case

Methods

__init__(test_group, name)

Create test case for creating a global MPAS-Ocean mesh

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()

Set config options for the test case

create_analysis(resolutions)

Child class must override this to return an instance of a ConvergenceInit step

create_init(resolution)

Child class must override this to return an instance of a ConvergenceInit step

run()

This method is deprecated.

update_cores()

Update the number of cores and min_tasks for each forward step

validate()

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