Dune::RedistributeInterface Struct Reference

#include <dune/istl/repartition.hh>

Inheritance diagram for Dune::RedistributeInterface:
Inheritance graph

List of all members.

Public Types

typedef InterfaceInformation Information
typedef std::map< int,
std::pair< Information,
Information > > 
InformationMap

Public Member Functions

void setCommunicator (MPI_Comm comm)
template<class Flags , class IS >
void buildSendInterface (const std::vector< int > &toPart, const ParmetisDuneIndexMap &pdmap, const IS &idxset)
void reserveSpaceForReceiveInterface (int proc, int size)
void addReceiveIndex (int proc, std::size_t idx)
template<typename TG >
void buildReceiveInterface (std::vector< std::pair< TG, int > > &indices)
 ~RedistributeInterface ()
template<typename R , typename T1 , typename T2 >
void build (const R &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 InformationMapinterfaces () const
 Get information about the interfaces.
void print () const
 Print the interface to std::out for debugging.
bool operator!= (const Interface &o) const
bool operator== (const Interface &o) const
void strip ()

Protected Member Functions

InformationMapinterfaces ()
 Get information about the interfaces.
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.

Protected Attributes

MPI_Comm communicator_
 The MPI communicator we use.

Member Typedef Documentation

typedef std::map<int,std::pair<Information,Information> > Dune::Interface::InformationMap [inherited]

Constructor & Destructor Documentation

Dune::RedistributeInterface::~RedistributeInterface (  )  [inline]

Member Function Documentation

void Dune::RedistributeInterface::addReceiveIndex ( int  proc,
std::size_t  idx 
) [inline]
template<typename TG >
void Dune::RedistributeInterface::buildReceiveInterface ( std::vector< std::pair< TG, int > > &  indices  )  [inline]
template<class Flags , class IS >
void Dune::RedistributeInterface::buildSendInterface ( const std::vector< int > &  toPart,
const ParmetisDuneIndexMap &  pdmap,
const IS &  idxset 
) [inline]

Referenced by Dune::graphRepartition().

bool Dune::Interface::operator!= ( const Interface o  )  const [inline, inherited]
bool Dune::Interface::operator== ( const Interface o  )  const [inline, inherited]
void Dune::RedistributeInterface::reserveSpaceForReceiveInterface ( int  proc,
int  size 
) [inline]
void Dune::RedistributeInterface::setCommunicator ( MPI_Comm  comm  )  [inline]

Member Data Documentation

MPI_Comm Dune::Interface::communicator_ [protected, inherited]

The documentation for this struct was generated from the following file:
Generated on Sat Apr 24 11:13:50 2010 for dune-istl by  doxygen 1.6.3