33 #include <sc_refcount.h>
This struct holds virtual functions for a particular element class.
Definition: t8_element_cxx.hxx:41
The scheme holds implementations for one or more element classes.
Definition: t8_element.h:51
sc_refcount_t rc
Reference counter for this scheme.
Definition: t8_element.h:53
t8_eclass_scheme_c * eclass_schemes[T8_ECLASS_COUNT]
This array holds one virtual table per element class.
Definition: t8_element.h:56
We define all possible element classes that occur in hybrid meshes.
#define T8_ECLASS_MAX_CORNERS
The maximum number of cornes an element class can have.
Definition: t8_eclass.h:75
@ T8_ECLASS_COUNT
This is no element class but can be used as the number of element classes.
Definition: t8_eclass.h:58
void t8_scheme_cxx_ref(t8_scheme_cxx_t *scheme)
Increase the reference counter of a scheme.
Definition: t8_element.c:52
const double t8_element_centroid_ref_coords[T8_ECLASS_COUNT][3]
This array holds the reference coordinates of the centroid of each element.
Definition: t8_element.c:40
struct t8_element t8_element_t
Opaque structure for a generic element, only used as pointer.
Definition: t8_element.h:42
const double t8_element_corner_ref_coords[T8_ECLASS_COUNT][T8_ECLASS_MAX_CORNERS][3]
This array holds the reference coordinates of each vertex of each element.
Definition: t8_element.c:27
void t8_scheme_cxx_unref(t8_scheme_cxx_t **pscheme)
Decrease the reference counter of a scheme.
Definition: t8_element.c:60
void t8_scheme_cxx_destroy(t8_scheme_cxx_t *s)
Destroy an implementation of a particular element class.
Definition: t8_element_cxx.cxx:31