Doxygen 1.9.1
Toolkit for Adaptive Stochastic Modeling and Non-Intrusive ApproximatioN: Tasmanian v8.2 (development)
tsgMPIScatterGrid.hpp File Reference

Sparse Grids send/receive through MPI. More...

Include dependency graph for tsgMPIScatterGrid.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TasGrid::VectorToStreamBuffer
 Coverts a vector to basic stream-buffer. More...
 

Namespaces

 TasGrid
 Encapsulates the Tasmanian Sparse Grid module.
 

Functions

int TasGrid::getMPIRank (MPI_Comm comm)
 Utility to return the rank within the given comm. More...
 
template<bool binary = TasGrid::mode_binary>
int TasGrid::MPIGridSend (TasmanianSparseGrid const &grid, int destination, int tag, MPI_Comm comm)
 Send a grid to another process in the MPI comm. More...
 
template<bool binary = TasGrid::mode_binary>
int TasGrid::MPIGridRecv (TasmanianSparseGrid &grid, int source, int tag, MPI_Comm comm, MPI_Status *status=MPI_STATUS_IGNORE)
 Receive a grid from another process in the MPI comm. More...
 
template<bool binary = TasGrid::mode_binary>
int TasGrid::MPIGridBcast (TasmanianSparseGrid &grid, int root, MPI_Comm comm)
 Broadcast a grid to all processes in an MPI comm. More...
 
template<bool binary = TasGrid::mode_binary>
int TasGrid::MPIGridScatterOutputs (TasmanianSparseGrid const &source, TasmanianSparseGrid &destination, int root, int tag, MPI_Comm comm)
 Split the grid across the comm where each rank receives an equal portion of the total outputs. More...
 

Detailed Description

Sparse Grids send/receive through MPI.

Author
Miroslav Stoyanov

Templates that communicate sparse grids through MPI commands.