Function t8_ghost_add_remote

Function Documentation

static void t8_ghost_add_remote(t8_forest_t forest, t8_forest_ghost_t ghost, int remote_rank, t8_locidx_t ltreeid, const t8_element_t *elem, t8_locidx_t element_index)

Add a new element to the remote hash table (if not already in it). Must be called for elements in linear order element_index is the tree local index of this element.

Parameters:
  • forest[in] The forest.

  • ghost[in] The ghost structure.

  • remote_rank[in] The remote rank.

  • ltreeid[in] Local id of the tree within the forest.

  • elem[in] The element to be added.

  • element_index[in] The element’s tree-local id.