polaris.tasks.landice.dome.restart.Restart
- class polaris.tasks.landice.dome.restart.Restart(component, velocity_solver, indir, init)[source]
A dome task that makes sure MALI gives the same results with one 2-year run and with a 1-year run that restarts from the first year of it
- __init__(component, velocity_solver, indir, init)[source]
Create the task
- Parameters:
component (polaris.tasks.landice.Landice) – The landice component that this task belongs to
velocity_solver ({'sia', 'FO'}) – MALI’s velocity solver
indir (str) – The directory the task is in, to which
namewill be appendedinit (polaris.tasks.landice.dome.init.Init) – The shared step that makes the mesh and initial condition
Methods
__init__(component, velocity_solver, indir, init)Create the task
add_step([step, subdir, symlink, run_by_default])Add a step to the task and component (if not already present)
configure()Modify the configuration options for this task.
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