variablesizecommunicator.hh File Reference

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

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

namespace  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_

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_
std::vector<InterfaceTracker>& trackers_
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 25 Mar 2018 for dune-common by  doxygen 1.6.1