dune-istl 2.9.0
Loading...
Searching...
No Matches
Dune::RedistributeInterface Struct Reference

#include <dune/istl/repartition.hh>

Inheritance diagram for Dune::RedistributeInterface:
Inheritance graph

Public Types

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

Public Member Functions

void setCommunicator (MPI_Comm comm)
 
template<class Flags , class IS >
void buildSendInterface (const std::vector< int > &toPart, 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 ()
 
void build (const R &remoteIndices, const T1 &sourceFlags, const T2 &destFlags)
 
void free ()
 
MPI_Comm communicator () const
 
const InformationMapinterfaces () const
 
void print () const
 
bool operator!= (const Interface &o) const
 
bool operator== (const Interface &o) const
 
void strip ()
 

Protected Member Functions

InformationMapinterfaces ()
 
void buildInterface (const R &remoteIndices, const T1 &sourceFlags, const T2 &destFlags, Op &functor) const
 

Protected Attributes

MPI_Comm communicator_
 

Constructor & Destructor Documentation

◆ ~RedistributeInterface()

Dune::RedistributeInterface::~RedistributeInterface ( )
inline

Member Function Documentation

◆ addReceiveIndex()

void Dune::RedistributeInterface::addReceiveIndex ( int  proc,
std::size_t  idx 
)
inline

◆ buildReceiveInterface()

template<typename TG >
void Dune::RedistributeInterface::buildReceiveInterface ( std::vector< std::pair< TG, int > > &  indices)
inline

◆ buildSendInterface()

template<class Flags , class IS >
void Dune::RedistributeInterface::buildSendInterface ( const std::vector< int > &  toPart,
const IS &  idxset 
)
inline

◆ reserveSpaceForReceiveInterface()

void Dune::RedistributeInterface::reserveSpaceForReceiveInterface ( int  proc,
int  size 
)
inline

◆ setCommunicator()

void Dune::RedistributeInterface::setCommunicator ( MPI_Comm  comm)
inline

The documentation for this struct was generated from the following file: