Function t8_cmesh_new_hypercube_hybrid

Function Documentation

t8_cmesh_t t8_cmesh_new_hypercube_hybrid(sc_MPI_Comm comm, int do_partition, int periodic)

Hybercube with 6 Tets, 6 Prism, 4 Hex.

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

  • do_partition[in] If non-zero create a partitioned cmesh.

  • periodic[in] If non-zero create a periodic cmesh in each direction

Returns:

A committed cmesh consisting of 6 Tets, 6 prism and 4 hex. Together, they form a cube.