#include <interface.hh>
Describes the communication interface between indices on the local process and those on remote processes.
Public Types | |
typedef T | ParallelIndexSet |
Type of the index set. | |
typedef Dune::RemoteIndices < ParallelIndexSet > | RemoteIndices |
Type of the underlying remote indices class. | |
typedef RemoteIndices::GlobalIndex | GlobalIndex |
The type of the global index. | |
typedef RemoteIndices::Attribute | Attribute |
The type of the attribute. | |
Public Member Functions | |
template<typename T1, typename T2> | |
void | build (const RemoteIndices &remoteIndices, const T1 &sourceFlags, const T2 &destFlags) |
Builds the interface. | |
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. | |
void | print () const |
Print the interface to std::out for debugging. | |
virtual | ~Interface () |
Destructor. | |
Protected Member Functions | |
template<class T1, class T2, class Op, bool send> | |
void | buildInterface (const RemoteIndices &remoteIndices, const T1 &sourceFlags, const T2 &destFlags, Op &functor) const |
Builds the interface between remote processes. |