compass.ocean.tests.ziso.ZisoTestCase

class compass.ocean.tests.ziso.ZisoTestCase(test_group, resolution, with_particles, long)[source]

The default test case for the ZISO test group simply creates the mesh and initial condition, then performs a short forward run with analysis members but without frazil.

Variables:
  • resolution (str) – The resolution of the test case

  • with_particles (bool) – Whether particles are include in the simulation

  • long (bool) – Whether to run a long (3-year) simulation to quasi-equilibrium

__init__(test_group, resolution, with_particles, long)[source]

Create the test case

Parameters:
  • test_group (compass.ocean.tests.ziso.Ziso) – The test group that this test case belongs to

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

  • with_particles (bool) – Whether particles are include in the simulation

  • long (bool) – Whether to run a long (3-year) simulation to quasi-equilibrium

Methods

__init__(test_group, resolution, ...)

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

This method is deprecated.

validate()

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