Template Function combigrid::CombiCom::reduceSubspaceSizes
Defined in File CombiCom.hpp
Function Documentation
-
template<typename SparseGridType>
void combigrid::CombiCom::reduceSubspaceSizes(SparseGridType &dsg, CommunicatorType comm) Performs a max-allreduce in communicator comm with subspace sizes of the sparse grids.
Typically used in the GlobalReduceComm to ensure that all workers have the same subspace sizes for sparse grid reduce.
- Template Parameters:
SparseGridType – (derived from) DistributedSparseGridUniform
- Parameters:
dsg – the sparse grid of type SparseGridType
comm – the communicator