5 #ifndef DUNE_GRID_CONCEPTS_ARCHETYPES_COMMDATAHANDLE_HH 6 #define DUNE_GRID_CONCEPTS_ARCHETYPES_COMMDATAHANDLE_HH 13 namespace Dune::Concept::Archetypes {
18 using DataType = Data;
20 bool contains (
int dim,
int codim)
const;
21 bool fixedSize (
int dim,
int codim)
const;
23 template <
class Entity>
24 std::size_t size (
const Entity& entity)
const;
26 template <
class Buffer,
class Entity>
27 void gather (Buffer& buffer,
const Entity& entity)
const;
29 template <
class Buffer,
class Entity>
30 void scatter (Buffer& buffer,
const Entity& entity, std::size_t size);
36 #endif // DUNE_GRID_CONCEPTS_ARCHETYPES_COMMDATAHANDLE_HH concept Entity
Model of a grid entity.
Definition: concepts/entity.hh:119
concept CommDataHandle
Definition: concepts/datahandle.hh:17
CommDataHandleIF describes the features of a data handle for communication in parallel runs using the...
Definition: datahandleif.hh:77
Describes the parallel communication interface class for MessageBuffers and DataHandles.