dune-common  2.4
Classes | Namespaces

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.
 

Detailed Description

A communicator that only needs to know the number of elements per index at the sender side.

Author
Markus Blatt

Variable Documentation

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_
InterfaceInformation interface_

The list of local indices of this interface.

std::size_t position_
int rank_

The process rank that this communication interface is with.

Referenced by Dune::IndicesSyncer< T >::IndicesSyncer(), and Dune::IndicesSyncer< T >::sync().

std::size_t size_
std::vector<std::size_t> sizes_
bool sizesAllocated_
std::vector<InterfaceTracker>& trackers_