Class template Dune::GDT::SpaceDataHandle¶
Inherits from Dune::CommDataHandleIF<SpaceDataHandle<GV, r, rD, R, VectorType, GatherScatter, CommunicationDescriptor>, typename CommunicationDescriptor::DataType>.
-
template<class GV, size_t r, size_t rD, class R, typename VectorType, typename GatherScatter>
class Dune::GDT::SpaceDataHandle<GV, r, rD, R, VectorType, GatherScatter, CommunicationDescriptor> : public Dune::CommDataHandleIF<SpaceDataHandle<GV, r, rD, R, VectorType, GatherScatter, CommunicationDescriptor>, typename CommunicationDescriptor::DataType>¶ Generic Dune communication data handle exchanging a space’s DoF data, delegating the actual packing to a gather/scatter functor and a communication descriptor.
Method Dune::GDT::SpaceDataHandle::contains¶
-
template<class GV, size_t r, size_t rD, class R, typename VectorType, typename GatherScatter>
bool Dune::GDT::SpaceDataHandle<GV, r, rD, R, VectorType, GatherScatter, CommunicationDescriptor>::contains(int dim, int codim) const¶ returns true if data for this codim should be communicated
Method Dune::GDT::SpaceDataHandle::fixedsize¶
-
template<class GV, size_t r, size_t rD, class R, typename VectorType, typename GatherScatter>
bool Dune::GDT::SpaceDataHandle<GV, r, rD, R, VectorType, GatherScatter, CommunicationDescriptor>::fixedsize(int dim, int codim) const¶ returns true if size per entity of given dim and codim is a constant
Constructor Dune::GDT::SpaceDataHandle::SpaceDataHandle<GV, r, rD, R, VectorType, GatherScatter, CommunicationDescriptor>¶
-
template<>
template<class GV, size_t r, size_t rD, class R, typename VectorType, typename GatherScatter>
Dune::GDT::SpaceDataHandle<GV, r, rD, R, VectorType, GatherScatter, CommunicationDescriptor>::SpaceDataHandle<GV, r, rD, R, VectorType, GatherScatter, CommunicationDescriptor>(const SpaceInterface<GV, r, rD, R> &space, VectorType &v, CommunicationDescriptor communication_descriptor, GatherScatter gather_scatter = GatherScatter())¶ No documentation provided.
Field Dune::GDT::SpaceDataHandle::space_¶
Field Dune::GDT::SpaceDataHandle::gather_scatter_¶
-
GatherScatter Dune::GDT::SpaceDataHandle::gather_scatter_¶
has to be mutable because gather is const
Field Dune::GDT::SpaceDataHandle::communication_descriptor_¶
-
CommunicationDescriptor Dune::GDT::SpaceDataHandle::communication_descriptor_¶
No documentation provided.
Field Dune::GDT::SpaceDataHandle::local_view_¶
-
LocalView<VectorType, typename VectorType::ScalarType, SpaceInterface<GV, r, rD, R>, CommunicationDescriptor> Dune::GDT::SpaceDataHandle::local_view_¶
No documentation provided.
Type alias Dune::GDT::SpaceDataHandle::DataType¶
-
type Dune::GDT::SpaceDataHandle::DataType¶
No documentation provided.
Type alias Dune::GDT::SpaceDataHandle::SpaceType¶
-
type Dune::GDT::SpaceDataHandle::SpaceType¶
No documentation provided.
Function template Dune::GDT::SpaceDataHandle::size¶
-
template<class GV, size_t r, size_t rD, class R, typename VectorType, typename GatherScatter>
template<class EntityType>
int Dune::GDT::SpaceDataHandle<GV, r, rD, R, VectorType, GatherScatter, CommunicationDescriptor>::size(const EntityType &entity) const¶ how many objects of type DataType have to be sent for a given entity Note: Only the sender side needs to know this size.
Function template Dune::GDT::SpaceDataHandle::gather¶
-
template<class GV, size_t r, size_t rD, class R, typename VectorType, typename GatherScatter>
template<typename MessageBuffer, class EntityType>
void Dune::GDT::SpaceDataHandle<GV, r, rD, R, VectorType, GatherScatter, CommunicationDescriptor>::gather(MessageBuffer &buffer, const EntityType &entity) const¶ pack data from user to message buffer the parent type prescribes a CONST gather method, because obviously receiving data will never change our local state this needs to be defined for all codims, but only codims for which contains is true will ever be called at runtime
Function template Dune::GDT::SpaceDataHandle::scatter¶
-
template<class GV, size_t r, size_t rD, class R, typename VectorType, typename GatherScatter>
template<typename MessageBuffer, class EntityType>
void Dune::GDT::SpaceDataHandle<GV, r, rD, R, VectorType, GatherScatter, CommunicationDescriptor>::scatter(MessageBuffer &buff, const EntityType &e, int n)¶ unpack data from message buffer to user n is the number of objects sent by the sender this needs to be defined for all codims, but only codims for which contains is true will ever be called at runtime