dune-common
2.5.1
|
A communicator that only needs to know the number of elements per index at the sender side. More...
#include <mpi.h>
#include <vector>
#include <map>
#include <functional>
#include <dune/common/unused.hh>
#include "interface.hh"
#include "mpitraits.hh"
Go to the source code of this file.
Classes | |
class | Dune::VariableSizeCommunicator< Allocator > |
A buffered communicator where the amount of data sent does not have to be known a priori. More... | |
Namespaces | |
Dune | |
Dune namespace. | |
A communicator that only needs to know the number of elements per index at the sender side.
T* buffer_ |
Pointer to the current insertion point of the buffer.
DataHandle& data_ |
std::size_t fixedSize |
The number of data items per index if it is fixed, 0 otherwise.
int index_ |
The other rank that this interface communcates with.
InterfaceInformation interface_ |
The list of local indices of this interface.
std::size_t position_ |
The current position in the buffer.
int rank_ |
The process rank that this communication interface is with.
std::size_t size_ |
The size of the buffer.
std::vector<std::size_t> sizes_ |
bool sizesAllocated_ |
std::vector<InterfaceTracker>& trackers_ |