Function t8_cmesh_new_from_class(t8_eclass_t, sc_MPI_Comm)

Function Documentation

t8_cmesh_t t8_cmesh_new_from_class(t8_eclass_t eclass, sc_MPI_Comm comm)

Constructs a cmesh that consists only of one tree of a given element class.

Parameters:
  • eclass[in] The element class.

  • comm[in] mpi communicator to be used with the new cmesh.

Returns:

A committed t8_cmesh structure with one tree of class eclass.