polaris.tasks.ocean.seamount.default.Default

class polaris.tasks.ocean.seamount.default.Default(component, indir, init)[source]

The default seamount test case creates the mesh and initial condition, then performs a 6 day forward run, plots the results and measures the spurious circulation.

Under Omega it performs a second forward run with the finite-volume horizontal pressure gradient, over the same initial condition, so that the two schemes are compared at an identical state.

Variables:

init (polaris.tasks.ocean.seamount.init.Init) – The shared step for creating the initial state

__init__(component, indir, init)[source]

Create the test case

Parameters:
  • component (polaris.ocean.Ocean) – The ocean component that this task belongs to

  • indir (str) – The directory the task is in, to which name will be appended

  • init (polaris.tasks.ocean.seamount.init.Init) – A shared step for creating the initial state

Methods

__init__(component, indir, init)

Create the test case

add_step([step, subdir, symlink, run_by_default])

Add a step to the task and component (if not already present)

configure()

Add the steps for the schemes only Omega has, and the analysis step that compares whichever schemes were run.

remove_step(step)

Remove the given step from this task and the component

set_shared_config(config[, link])

Replace the task's config parser with the shared config parser