DUNE PDELab (2.8)
Public Types |
Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
Dune::Interface Class Reference
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 InformationMap & | interfaces () const |
Get information about the interfaces. More... | |
void | print () const |
Print the interface to std::out for debugging. | |
virtual | ~Interface () |
Destructor. | |
Protected Member Functions | |
InformationMap & | interfaces () |
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:
- dune/common/parallel/interface.hh
![Creative Commons License](https://i.creativecommons.org/l/by-sa/4.0/80x15.png)