Gather/scatter communication that passes a single function from each subdomain to all its neighbors.
More...
#include <dune/pdelab/backend/istl/geneo/multicommdatahandle.hh>
|
template<typename MessageBuffer , typename Entity , typename LocalView > |
bool | gather (MessageBuffer &buff, const Entity &e, LocalView &local_view) const |
|
template<typename MessageBuffer , typename Entity , typename LocalView > |
bool | scatter (MessageBuffer &buff, std::size_t n, const Entity &e, LocalView &local_view) const |
|
template<typename MessageBuffer , typename Offsets , typename Entity , typename LocalView > |
bool | scatter (MessageBuffer &buff, const Offsets &remote_offsets, const Offsets &local_offsets, const Entity &e, LocalView &local_view) const |
|
| MultiCommGatherScatter (const GFS &gfs, RankIndex rank, std::vector< std::shared_ptr< V > > target_vectors, std::vector< RankIndex > neighbor_ranks) |
|
template<typename GFS, typename RankIndex, typename V>
class Dune::PDELab::MultiCommGatherScatter< GFS, RankIndex, V >
Gather/scatter communication that passes a single function from each subdomain to all its neighbors.
◆ size_type
template<typename GFS , typename RankIndex , typename V >
◆ MultiCommGatherScatter()
template<typename GFS , typename RankIndex , typename V >
- Parameters
-
gfs | Grid function space to be operated on. |
rank | The MPI rank of the current process. |
target_vectors | Vectors which the received vectors will be written to. |
neighbor_ranks | List of ranks of neighboring subdomains defining the order in which results are written to target_vectors. |
◆ gather()
template<typename GFS , typename RankIndex , typename V >
template<typename MessageBuffer , typename Entity , typename LocalView >
◆ scatter() [1/2]
template<typename GFS , typename RankIndex , typename V >
template<typename MessageBuffer , typename Offsets , typename Entity , typename LocalView >
bool Dune::PDELab::MultiCommGatherScatter< GFS, RankIndex, V >::scatter |
( |
MessageBuffer & |
buff, |
|
|
const Offsets & |
remote_offsets, |
|
|
const Offsets & |
local_offsets, |
|
|
const Entity & |
e, |
|
|
LocalView & |
local_view |
|
) |
| const |
|
inline |
◆ scatter() [2/2]
template<typename GFS , typename RankIndex , typename V >
template<typename MessageBuffer , typename Entity , typename LocalView >
The documentation for this class was generated from the following file: