28#ifndef EWOMS_ECFV_GRID_COMM_HANDLE_FACTORY_HH
29#define EWOMS_ECFV_GRID_COMM_HANDLE_FACTORY_HH
44template<
class TypeTag>
54 template <
class ValueType,
class ArrayType>
56 minHandle(ArrayType& array,
const DofMapper& dofMapper)
59 return std::shared_ptr<Handle>(
new Handle(array, dofMapper));
66 template <
class ValueType,
class ArrayType>
68 maxHandle(ArrayType& array,
const DofMapper& dofMapper)
71 return std::shared_ptr<Handle>(
new Handle(array, dofMapper));
78 template <
class ValueType,
class ArrayType>
80 sumHandle(ArrayType& array,
const DofMapper& dofMapper)
83 return std::shared_ptr<Handle>(
new Handle(array, dofMapper));
A class which provides types for DUNE grid handles for communication.
Definition ecfvgridcommhandlefactory.hh:46
static std::shared_ptr< GridCommHandleMin< ValueType, ArrayType, DofMapper, 0 > > 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 ecfvgridcommhandlefactory.hh:56
static std::shared_ptr< GridCommHandleMax< ValueType, ArrayType, DofMapper, 0 > > 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 ecfvgridcommhandlefactory.hh:68
static std::shared_ptr< GridCommHandleSum< ValueType, ArrayType, DofMapper, 0 > > 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 ecfvgridcommhandlefactory.hh:80
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
Declare the basic properties used by the common infrastructure of the element-centered finite volume ...
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
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