Function t8_forest_init_search_with_queries
Defined in File t8_forest_search.h
Function Documentation
-
void t8_forest_init_search_with_queries(t8_forest_search_with_queries_c_wrapper search_with_queries, t8_search_element_callback_c_wrapper element_callback, t8_search_queries_callback_c_wrapper queries_callback, void **queries, const size_t num_queries, const t8_forest_t forest)
Initialize the forest search with queries context.
- Parameters:
search_with_queries – [inout] the search with queries context to initialize
element_callback – [in] the callback function that checks the search criterion on an element
queries_callback – [in] the callback function that checks the queries on an element
queries – [in] a pointer to an array of queries
num_queries – [in] the number of queries in the array
forest – [in] the forest on which the search is performed