Function t8_element_MPI_Pack_size

Function Documentation

void t8_element_MPI_Pack_size(const t8_scheme_c *scheme, const t8_eclass_t tree_class, const unsigned int count, sc_MPI_Comm comm, int *pack_size)

Determine an upper bound for the size of the packed message of count elements.

Parameters:
  • scheme[in] The scheme of the forest.

  • tree_class[in] The eclass of tree the elements are part of.

  • count[in] Number of elements to pack

  • comm[in] MPI Communicator

  • pack_size[out] upper bound on the message size