Function t8_forest_copy_trees
Defined in File t8_forest_private.h
Function Documentation
-
void t8_forest_copy_trees(t8_forest_t forest, t8_forest_t from, int copy_elements)
Allocate memory for trees and set their values as in from.
For each tree allocate enough element memory to fit the elements of from. If copy_elements is true, copy the elements of from into the element memory. Do not copy the first and last desc for each tree, as this is done outside in commit