29#ifndef EWOMS_GRID_COMM_HANDLES_HH
30#define EWOMS_GRID_COMM_HANDLES_HH
32#include <dune/grid/common/datahandleif.hh>
33#include <dune/common/version.hh>
41template <
class FieldType,
class Container,
class EntityMapper,
int commCodim>
43 :
public Dune::CommDataHandleIF<GridCommHandleSum<FieldType, Container,
44 EntityMapper, commCodim>,
52 bool contains(
int,
int codim)
const
59#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
60 bool fixedsize(
int,
int)
const
62 bool fixedSize(
int,
int)
const
70 template <
class EntityType>
77 template <
class MessageBufferImp,
class EntityType>
80 unsigned dofIdx =
static_cast<unsigned>(mapper_.index(
e));
84 template <
class MessageBufferImp,
class EntityType>
87 unsigned dofIdx =
static_cast<unsigned>(mapper_.index(
e));
104template <
class FieldType,
class Container,
class EntityMapper,
unsigned commCodim>
106 :
public Dune::CommDataHandleIF<GridCommHandleGhostSync<FieldType, Container,
107 EntityMapper, commCodim>,
116 bool contains(
int,
int codim)
const
123#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
124 bool fixedsize(
int,
int)
const
126 bool fixedSize(
int,
int)
const
134 template <
class EntityType>
141 template <
class MessageBufferImp,
class EntityType>
144 unsigned dofIdx =
static_cast<unsigned>(mapper_.index(
e));
148 template <
class MessageBufferImp,
class EntityType>
151 unsigned dofIdx =
static_cast<unsigned>(mapper_.index(
e));
164template <
class FieldType,
class Container,
class EntityMapper,
unsigned commCodim>
166 :
public Dune::CommDataHandleIF<GridCommHandleMax<FieldType, Container,
167 EntityMapper, commCodim>,
175 bool contains(
int,
int codim)
const
182#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
183 bool fixedsize(
int,
int)
const
185 bool fixedSize(
int,
int)
const
193 template <
class EntityType>
200 template <
class MessageBufferImp,
class EntityType>
203 unsigned dofIdx =
static_cast<unsigned>(mapper_.index(
e));
207 template <
class MessageBufferImp,
class EntityType>
210 unsigned dofIdx =
static_cast<unsigned>(mapper_.index(
e));
225template <
class FieldType,
class Container,
class EntityMapper,
unsigned commCodim>
227 :
public Dune::CommDataHandleIF<GridCommHandleMin<FieldType, Container,
228 EntityMapper, commCodim>,
236 bool contains(
int,
int codim)
const
243#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
244 bool fixedsize(
int,
int)
const
246 bool fixedSize(
int,
int)
const
254 template <
class EntityType>
261 template <
class MessageBufferImp,
class EntityType>
264 unsigned dofIdx =
static_cast<unsigned>(mapper_.index(
e));
268 template <
class MessageBufferImp,
class EntityType>
271 unsigned dofIdx =
static_cast<unsigned>(mapper_.index(
e));
Data handle for parallel communication which can be used to set the values values of ghost and overla...
Definition gridcommhandles.hh:109
Data handle for parallel communication which takes the maximum of all values that are attached to DOF...
Definition gridcommhandles.hh:169
Provides data handle for parallel communication which takes the minimum of all values that are attach...
Definition gridcommhandles.hh:230
Data handle for parallel communication which sums up all values are attached to DOFs.
Definition gridcommhandles.hh:46
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242