Function t8_cmesh_new_pyramid_cake

Function Documentation

t8_cmesh_t t8_cmesh_new_pyramid_cake(sc_MPI_Comm comm, int num_of_pyra)

Construct a mesh out of num_of_pyra many pyramids.

They form a circle, face 0 is connected with face 1 of the next pyramid.

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

  • num_of_pyra[in] The number of pyramids to construct. Should be larger than 2

Returns:

A cmesh with num_of_pyra many pyramids