DUNE PDELab (2.8)

Communication interface between remote and local indices. More...

#include <dune/common/parallel/interface.hh>

Public Types

typedef std::map< int, std::pair< InterfaceInformation, InterfaceInformation > > InformationMap
 The type of the map form process number to InterfaceInformation for sending and receiving to and from it.
 

Public Member Functions

template<typename R , typename T1 , typename T2 >
void build (const R &remoteIndices, const T1 &sourceFlags, const T2 &destFlags)
 Builds the interface. More...
 
void free ()
 Frees memory allocated during the build.
 
MPI_Comm communicator () const
 Get the MPI Communicator.
 
const InformationMapinterfaces () const
 Get information about the interfaces. More...
 
void print () const
 Print the interface to std::out for debugging.
 
virtual ~Interface ()
 Destructor.
 

Protected Member Functions

InformationMapinterfaces ()
 Get information about the interfaces. More...
 
template<class R , class T1 , class T2 , class Op , bool send>
void buildInterface (const R &remoteIndices, const T1 &sourceFlags, const T2 &destFlags, Op &functor) const
 Builds the interface between remote processes. More...
 

Protected Attributes

MPI_Comm communicator_
 The MPI communicator we use.
 

Detailed Description

Communication interface between remote and local indices.

Describes the communication interface between indices on the local process and those on remote processes.


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 21, 23:30, 2024)