33 #include <sc_refcount.h>
This struct holds virtual functions for a particular element class.
Definition: t8_element_cxx.hxx:47
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.
@ T8_ECLASS_COUNT
This is no element class but can be used as the number of element classes.
Definition: t8_eclass.h:59
void t8_scheme_cxx_ref(t8_scheme_cxx_t *scheme)
Increase the reference counter of a scheme.
Definition: t8_element.c:26
struct t8_element t8_element_t
Opaque structure for a generic element, only used as pointer.
Definition: t8_element.h:42
void t8_scheme_cxx_unref(t8_scheme_cxx_t **pscheme)
Decrease the reference counter of a scheme.
Definition: t8_element.c:34
void t8_scheme_cxx_destroy(t8_scheme_cxx_t *s)
Destroy an implementation of a particular element class.
Definition: t8_element_cxx.cxx:31