Dune::CommPolicy< V > Struct Template Reference
[ISTL Communication]
#include <communicator.hh>
Detailed Description
template<class V>
struct Dune::CommPolicy< V >
Default policy used for communicating an indexed type.
This
Public Types | |
typedef V | Type |
The type the policy is for. | |
typedef V::value_type | IndexedType |
The type we get at each index with operator[]. | |
typedef SizeOne | IndexedTypeFlag |
Whether the indexed type has variable size or there is always one value at each index. | |
Static Public Member Functions | |
static const void * | getAddress (const V &v, int index) |
Get the address of entry at an index. | |
static int | getSize (const V &, int index) |
Get the number of primitve elements at that index. | |
Classes | |
class | CommunicationError |
Error thrown if there was a problem with the communication. More... | |
struct | CopyGatherScatter |
GatherScatter default implementation that just copies data. More... |
Member Typedef Documentation
template<class V>
typedef V Dune::CommPolicy< V >::Type |
The type the policy is for.
It has to provide the mode
Type::IndexedType operator[](int i);
template<class V>
typedef V::value_type Dune::CommPolicy< V >::IndexedType |
The type we get at each index with operator[].
The default is the value_type typedef of the container.
The documentation for this struct was generated from the following file: