Function t8_cmesh_trees_bcast(t8_cmesh_t, int, sc_MPI_Comm)

Function Documentation

void t8_cmesh_trees_bcast(t8_cmesh_t cmesh_in, int root, sc_MPI_Comm comm)

Broadcast an existing valid trees structure from a root rank to all other ranks. The trees structure must belong to cmeshes whose meta_information is already set. t8_cmesh_bcast.

Parameters:
  • cmesh_in[in] On root a committed, replicated cmesh. On the other ranks an initialized cmesh with the same number of trees as on root.

  • root[in] The rank that broadcasts cmesh_in to all other ranks.

  • comm[in] MPI communicator to use.