dune-fem
2.4.1-rc
|
Default communication handler for discrete functions. More...
#include </local/tomalk/somewhere/tmp/dune-fem/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) | |
DefaultCommunicationHandler (const DefaultCommunicationHandler &other) | |
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 More... | |
template<class MessageBuffer , class Entity > | |
void | scatter (MessageBuffer &buffer, const Entity &entity, size_t n) |
read buffer and apply operation More... | |
template<class Entity > | |
size_t | size (const Entity &entity) const |
return local dof size to be communicated More... | |
Protected Types | |
typedef DiscreteFunctionSpaceType::BlockMapperType | BlockMapperType |
typedef DiscreteFunctionType::DofBlockPtrType | DofBlockPtrType |
Protected Attributes | |
DiscreteFunctionType *const | function_ |
const BlockMapperType & | blockMapper_ |
Static Protected Attributes | |
static const unsigned int | blockSize = DiscreteFunctionSpaceType::localBlockSize |
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
References Dune::Fem::DefaultCommunicationHandler< DiscreteFunction, Operation >::blockMapper_, and Dune::Fem::DefaultCommunicationHandler< DiscreteFunction, Operation >::function_.
|
inline |
read buffer and apply operation
References Dune::Fem::DefaultCommunicationHandler< DiscreteFunction, Operation >::blockMapper_, and Dune::Fem::DefaultCommunicationHandler< DiscreteFunction, Operation >::function_.
|
inline |
return local dof size to be communicated
References Dune::Fem::DefaultCommunicationHandler< DiscreteFunction, Operation >::blockMapper_.
|
protected |
Referenced by Dune::Fem::DefaultCommunicationHandler< DiscreteFunction, Operation >::contains(), Dune::Fem::DefaultCommunicationHandler< DiscreteFunction, Operation >::fixedsize(), Dune::Fem::DefaultCommunicationHandler< DiscreteFunction, Operation >::gather(), Dune::Fem::DefaultCommunicationHandler< DiscreteFunction, Operation >::scatter(), and Dune::Fem::DefaultCommunicationHandler< DiscreteFunction, Operation >::size().
|
staticprotected |
|
protected |