DUNE PDELab (2.8)

Dune::PDELab::MultiCommGatherScatter< GFS, RankIndex, V > Class Template Reference

Gather/scatter communication that passes a single function from each subdomain to all its neighbors. More...

#include <dune/pdelab/backend/istl/geneo/multicommdatahandle.hh>

Public Member Functions

 MultiCommGatherScatter (const GFS &gfs, RankIndex rank, std::vector< std::shared_ptr< V > > target_vectors, std::vector< RankIndex > neighbor_ranks)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ MultiCommGatherScatter()

template<typename GFS , typename RankIndex , typename V >
Dune::PDELab::MultiCommGatherScatter< GFS, RankIndex, V >::MultiCommGatherScatter ( const GFS &  gfs,
RankIndex  rank,
std::vector< std::shared_ptr< V > >  target_vectors,
std::vector< RankIndex >  neighbor_ranks 
)
inline
Parameters
gfsGrid function space to be operated on.
rankThe MPI rank of the current process.
target_vectorsVectors which the received vectors will be written to.
neighbor_ranksList of ranks of neighboring subdomains defining the order in which results are written to target_vectors.

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 22, 23:30, 2024)