polaris.tasks.mesh.spherical.unified.sizing_field.get_sizing_field_config

polaris.tasks.mesh.spherical.unified.sizing_field.get_sizing_field_config(mesh_name, filepath=None)[source]

Load one unified mesh config with sizing-field defaults.

Parameters:
  • mesh_name (str) – The name of the unified mesh; must be a member of polaris.mesh.spherical.unified.UNIFIED_MESH_NAMES

  • filepath (str, optional) – The path to the config file; passed directly to polaris.mesh.spherical.unified.get_unified_mesh_config()

Returns:

config (polaris.config.PolarisConfigParser) – The merged config that combines the generic unified_mesh.cfg defaults, the shared sizing-field defaults, and the named-mesh config file

Raises:

ValueError – If mesh_name is not a recognized unified mesh name