Function t8_forest_ghost_exchange_fill_send_buffer

Function Documentation

static size_t t8_forest_ghost_exchange_fill_send_buffer(t8_forest_t forest, int remote, char **pbuffer, sc_array_t *element_data)

Fill the send buffer for a ghost data exchange for on remote rank.

Parameters:
  • forest[in] The forest.

  • remote[in] The remote rank to send to.

  • pbuffer[out] The send buffer, allocated within this function.

  • element_data[in] The element data.

Returns:

The number of bytes in the buffer.