Function t8_forest_ghost_remote_first_elem

Function Documentation

t8_locidx_t t8_forest_ghost_remote_first_elem(t8_forest_t forest, int remote)

Return the local index of the first ghost element that belongs to a given remote rank.

Parameters:
  • forest[in] A forest with constructed ghost layer.

  • remote[in] A remote rank of the ghost layer in forest.

Returns:

The index i in the ghost elements of the first element of rank remote