polaris.tasks.mesh.spherical.unified.sizing_field.SizingFieldTask
- class polaris.tasks.mesh.spherical.unified.sizing_field.SizingFieldTask(component, mesh_name)[source]
A standalone task for building one named unified sizing field.
- Parameters:
component (polaris.Component) – The component the task belongs to
mesh_name (str) – The name of the unified mesh
- __init__(component, mesh_name)[source]
Create a new task
- Parameters:
component (polaris.Component) – the component that this task belongs to
name (str) – the name of the task
subdir (str, optional) –
- the subdirectory for the task. If neither this nor
indir are provided, the directory is the
name
- the subdirectory for the task. If neither this nor
indir (str, optional) – the directory the task is in, to which
namewill be appended
Methods
__init__(component, mesh_name)Create a new 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