Function t8_forest_ghost_tree_num_leaf_elements

Function Documentation

t8_locidx_t t8_forest_ghost_tree_num_leaf_elements(t8_forest_t forest, t8_locidx_t lghost_tree)

Given an index in the ghost_tree array, return this tree’s number of leaf elements.

Parameters:
  • forest[in] The forest. Ghost layer must exist.

  • lghost_tree[in] The ghost tree id of a ghost tree.

Returns:

The number of ghost leaf elements of the tree. forest must be committed before calling this function.