polaris.tasks.ocean.single_column.frazil.melting_short.FrazilMeltingShort
- class polaris.tasks.ocean.single_column.frazil.melting_short.FrazilMeltingShort(component, subdir, name, variant_cfg)[source]
A two-layer single-column frazil test with a warm top layer over a supercooled bottom layer and no surface forcing. All tendencies are disabled except frazil, so the evolution of both layers is set entirely by frazil formation and melting. Omega runs each of its time integrators with both frazil algorithms (
'FixedProperty'and'teos'). MPAS-Ocean retains only RK4 with'FixedProperty'.- __init__(component, subdir, name, variant_cfg)[source]
Create the test case
- Parameters:
component (polaris.tasks.ocean.Ocean) – The ocean component that this task belongs to
subdir (str) – The directory the task is in
name (str) – The task name
variant_cfg (str) – A config overlay in this package setting the initial temperature for this variant
Methods
__init__(component, subdir, name, variant_cfg)Create the test case
add_step([step, subdir, symlink, run_by_default])Add a step to the task and component (if not already present)
Keep only the RK4
'FixedProperty'forward step if the ocean model is MPAS-Ocean, which supports neither the other time integrators nor the'teos'algorithmremove_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