polaris.mesh.add_step.add_uniform_spherical_base_mesh_step

polaris.mesh.add_step.add_uniform_spherical_base_mesh_step(resolution, icosahedral)[source]

Add a shared step for creating spherical base mesh with the given resolution to the mesh component (if one has not already been added)

Parameters:
  • resolution (float) – The resolution in km of the mesh

  • icosahedral (bool) – Whether the mesh is a subdivided icosahedral mesh, as opposed to a quasi-uniform

Returns:

  • base_mesh (polaris.Step) – The base mesh step

  • res_str (str) – The resolution of the mesh as a string (e.g. ‘240km’)