Function t8_element_copy
Defined in File t8_scheme.h
Function Documentation
-
void t8_element_copy(const t8_scheme_c *scheme, const t8_eclass_t tree_class, const t8_element_t *source, t8_element_t *dest)
Copy all entries of source to dest.
dest must be an existing element. No memory is allocated by this function.
Note
source and dest may point to the same element.
- Parameters:
scheme – [in] Implementation of a class scheme.
tree_class – [in] The eclass of the current tree.
source – [in] The element whose entries will be copied to dest.
dest – [inout] This element’s entries will be overwritten with the entries of source.