Template Function combigrid::CombiCom::broadcastSubspaceSizes

Function Documentation

template<typename SparseGridType>
void combigrid::CombiCom::broadcastSubspaceSizes(SparseGridType &dsg, CommunicatorType comm, RankType sendingRank)

Broadcasts the subspace sizes of the sparse grid from rank sendingRank in communicator comm.

this together with maxReduceSubspaceSizesAcrossGroups can be used as a two-step replacement for reduceSubspaceSizes.

Template Parameters:

SparseGridType – (derived from) DistributedSparseGridUniform

Parameters:
  • dsg – the sparse grid of type SparseGridType

  • comm – the communicator

  • sendingRank – the rank that sends the data