dune-fem 2.8.0
|
Default communication handler for discrete functions. More...
#include <dune/fem/space/common/defaultcommhandler.hh>
Public Types | |
typedef BaseType::DataType | DataType |
typedef DiscreteFunction | DiscreteFunctionType |
typedef DiscreteFunctionType::DiscreteFunctionSpaceType | DiscreteFunctionSpaceType |
Public Member Functions | |
DefaultCommunicationHandler (DiscreteFunctionType &function, const Operation &operation=Operation()) | |
DefaultCommunicationHandler (const DefaultCommunicationHandler &other) | |
DefaultCommunicationHandler & | operator= (const DefaultCommunicationHandler &)=delete |
cannot be implemented because of the reference | |
bool | contains (int dim, int codim) const |
bool | fixedSize (int dim, int codim) const |
template<class MessageBuffer , class Entity > | |
void | gather (MessageBuffer &buffer, const Entity &entity) const |
read buffer and apply operation | |
template<class MessageBuffer , class Entity > | |
void | scatter (MessageBuffer &buffer, const Entity &entity, size_t n) |
read buffer and apply operation | |
template<class Entity > | |
size_t | size (const Entity &entity) const |
return local dof size to be communicated | |
Protected Types | |
typedef DiscreteFunctionSpaceType::BlockMapperType | BlockMapperType |
typedef DiscreteFunctionSpaceType::LocalBlockIndices | LocalBlockIndices |
Protected Attributes | |
DiscreteFunctionType *const | function_ |
const BlockMapperType & | blockMapper_ |
const Operation | operation_ |
Default communication handler for discrete functions.
DiscreteFunction | type of discrete function to be communicated |
|
protected |
typedef BaseType::DataType Dune::Fem::DefaultCommunicationHandler< DiscreteFunction, Operation >::DataType |
typedef DiscreteFunctionType::DiscreteFunctionSpaceType Dune::Fem::DefaultCommunicationHandler< DiscreteFunction, Operation >::DiscreteFunctionSpaceType |
typedef DiscreteFunction Dune::Fem::DefaultCommunicationHandler< DiscreteFunction, Operation >::DiscreteFunctionType |
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
read buffer and apply operation
|
delete |
cannot be implemented because of the reference
|
inline |
read buffer and apply operation
|
inline |
return local dof size to be communicated
|
protected |
|
protected |
|
protected |