30 #ifndef T8_FOREST_ITERATE_H
31 #define T8_FOREST_ITERATE_H
36 typedef int (*t8_forest_iterate_face_fn) (
t8_forest_t forest,
39 int face,
void *user_data,
59 typedef int (*t8_forest_search_query_fn) (
t8_forest_t forest,
89 *leaf_elements,
void *user_data,
91 tree_lindex_of_first_leaf,
92 t8_forest_iterate_face_fn
102 t8_forest_search_query_fn search_fn,
103 t8_forest_search_query_fn query_fn,
104 sc_array_t *queries);
The t8_element_array_t is an array to store t8_element_t * of a given eclass_scheme implementation.
Definition: t8_containers.h:42
This structure is private to the implementation.
Definition: t8_forest_types.h:69
This is the administrative header file for t8code.
int32_t t8_locidx_t
A type for processor-local indexing.
Definition: t8.h:94
struct t8_element t8_element_t
Opaque structure for a generic element, only used as pointer.
Definition: t8_element.h:42
We define the forest of trees in this file.
void(* t8_forest_replace_t)(t8_forest_t forest_old, t8_forest_t forest_new, t8_locidx_t which_tree, t8_eclass_scheme_c *ts, int refine, int num_outgoing, t8_locidx_t first_outgoing, int num_incoming, t8_locidx_t first_incoming)
Callback function prototype to replace one set of elements with another.
Definition: t8_forest.h:90
void t8_forest_iterate_replace(t8_forest_t forest_new, t8_forest_t forest_old, t8_forest_replace_t replace_fn)
Given two forest where the elemnts in one forest are either direct children or parents of the element...
Definition: t8_forest_iterate.cxx:393