Function t8_forest_search_tree

Function Documentation

static void t8_forest_search_tree(t8_forest_t forest, t8_locidx_t ltreeid, t8_forest_search_fn search_fn, t8_forest_query_fn query_fn, sc_array_t *queries, sc_array_t *active_queries)

Perform a top-down search in one tree of the forest

Parameters:
  • forest[in] The forest.

  • ltreeid[in] The local index of the tree to search in.

  • search_fn[in] The callback function describing the search criterion.

  • query_fn[in] The callback function used for queries.

  • queries[in] The array of queries.

  • active_queries[in] The active queries within queries.