Function t8_cmesh_new_prism_cake

Function Documentation

t8_cmesh_t t8_cmesh_new_prism_cake(sc_MPI_Comm comm, int num_of_prisms)

Construct a cmesh of num_of_prisms connected prism, all with one edge in 0, except for num_of_prisms = 2, then the return is the hypercube mesh.

Parameters:
  • comm[in] The mpi communicator to use.

  • num_of_prisms[in] The number of prisms to be used.

Returns:

A valid cmesh, as if _init and _commit had been called.