Function t8_forest_new_gather

Function Documentation

t8_forest_t t8_forest_new_gather(const t8_forest_t forest_from, const int gather_rank)

Create a new forest that gathers a given forest on one process.

This functionality is mostly required for comparison purposes and sanity checks within the testing framework.

Parameters:
  • forest_from[in] the forest that should be gathered on one rank

  • gather_rank[in] the rank of the process the forest will be gathered on

Returns:

The gathered forest: The same as forest_from, but all elements are on rank gather_rank.