Function t8_cmesh_new_prismed_spherical_shell_octahedron

Function Documentation

t8_cmesh_t t8_cmesh_new_prismed_spherical_shell_octahedron(const double inner_radius, const double shell_thickness, const int num_levels, const int num_layers, sc_MPI_Comm comm)

Construct a spherical shell discretized by prisms of given inner radius and thickness: octahedron version.

Parameters:
  • inner_radius[in] Radius of the inner side of the shell.

  • shell_thickness[in] Thickness of the shell.

  • num_levels[in] Refinement level per patch in longitudinal and latitudinal direction.

  • num_layers[in] Number of layers of the shell.

  • comm[in] The MPI communicator used to commit the cmesh

Returns:

A cmesh representing the spherical surface.