compass.ocean.tests.planar_convergence.horizontal_advection.HorizontalAdvection

class compass.ocean.tests.planar_convergence.horizontal_advection.HorizontalAdvection(test_group)[source]

A test case for testing horizontal advection in MPAS-Ocean with planar, doubly periodic meshes

__init__(test_group)[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

Methods

__init__(test_group)

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 ConvInit step

run()

Run each step of the testcase

update_cores()

Update the number of cores and min_cores for each forward step

validate()

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