Function t8_cmesh_new_cubed_spherical_shell

Function Documentation

t8_cmesh_t t8_cmesh_new_cubed_spherical_shell(const double inner_radius, const double shell_thickness, const int num_trees, const int num_layers, sc_MPI_Comm comm)

Construct a cubed spherical shell of given inner radius and thickness.

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

  • shell_thickness[in] Thickness of the shell.

  • num_trees[in] Number of trees 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.