Function t8_cmesh_new_periodic
Defined in File t8_cmesh_examples.h
Function Documentation
-
t8_cmesh_t t8_cmesh_new_periodic(sc_MPI_Comm comm, int dim)
Construct a unit interval/square/cube coarse mesh that is periodic in each direction.
Element class? Hypercube? TODO: redundant, remove.
- Parameters:
comm – [in] The mpi communicator to use.
dim – [in] The dimension of the forest, 1, 2 or 3.
- Returns:
A valid cmesh, as if _init and _commit had been called.