28#ifndef EWOMS_VCFV_GRID_COMM_HANDLE_FACTORY_HH
29#define EWOMS_VCFV_GRID_COMM_HANDLE_FACTORY_HH
44template<
class TypeTag>
50 static const int dim = GridView::dimension;
57 template <
class ValueType,
class ArrayType>
62 return std::shared_ptr<Handle>(
new Handle(
array, dofMapper));
69 template <
class ValueType,
class ArrayType>
74 return std::shared_ptr<Handle>(
new Handle(
array, dofMapper));
81 template <
class ValueType,
class ArrayType>
86 return std::shared_ptr<Handle>(
new Handle(
array, dofMapper));
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
A class which provides types for DUNE grid handles for communication.
Definition vcfvgridcommhandlefactory.hh:46
static std::shared_ptr< GridCommHandleMin< ValueType, ArrayType, DofMapper, dim > > minHandle(ArrayType &array, const DofMapper &dofMapper)
Return a handle which computes the minimum of a value for each overlapping degree of freedom across a...
Definition vcfvgridcommhandlefactory.hh:59
static std::shared_ptr< GridCommHandleSum< ValueType, ArrayType, DofMapper, dim > > sumHandle(ArrayType &array, const DofMapper &dofMapper)
Return a handle which computes the sum of all values all overlapping degrees of freedom across all pr...
Definition vcfvgridcommhandlefactory.hh:83
static std::shared_ptr< GridCommHandleMax< ValueType, ArrayType, DofMapper, dim > > maxHandle(ArrayType &array, const DofMapper &dofMapper)
Return a handle which computes the maximum of a value for each overlapping degree of freedom across a...
Definition vcfvgridcommhandlefactory.hh:71
Provides data handles for parallel communication which operate on DOFs.
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
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(....
Definition propertysystem.hh:235
Declares the basic properties used by the common infrastructure of the vertex-centered finite volume ...