A class which provides types for DUNE grid handles for communication. More...

#include <vcfvgridcommhandlefactory.hh>

Static Public Member Functions

template<class ValueType , class ArrayType >
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 all processes. More...
 
template<class ValueType , class ArrayType >
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 all processes. More...
 
template<class ValueType , class ArrayType >
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 processes. More...
 

Detailed Description

template<class TypeTag>
class Opm::VcfvGridCommHandleFactory< TypeTag >

A class which provides types for DUNE grid handles for communication.

This is required for parallel computations

Member Function Documentation

◆ maxHandle()

template<class TypeTag >
template<class ValueType , class ArrayType >
static std::shared_ptr< GridCommHandleMax< ValueType, ArrayType, DofMapper, dim > > Opm::VcfvGridCommHandleFactory< TypeTag >::maxHandle ( ArrayType &  array,
const DofMapper &  dofMapper 
)
inlinestatic

Return a handle which computes the maximum of a value for each overlapping degree of freedom across all processes.

◆ minHandle()

template<class TypeTag >
template<class ValueType , class ArrayType >
static std::shared_ptr< GridCommHandleMin< ValueType, ArrayType, DofMapper, dim > > Opm::VcfvGridCommHandleFactory< TypeTag >::minHandle ( ArrayType &  array,
const DofMapper &  dofMapper 
)
inlinestatic

Return a handle which computes the minimum of a value for each overlapping degree of freedom across all processes.

◆ sumHandle()

template<class TypeTag >
template<class ValueType , class ArrayType >
static std::shared_ptr< GridCommHandleSum< ValueType, ArrayType, DofMapper, dim > > Opm::VcfvGridCommHandleFactory< TypeTag >::sumHandle ( ArrayType &  array,
const DofMapper &  dofMapper 
)
inlinestatic

Return a handle which computes the sum of all values all overlapping degrees of freedom across all processes.


The documentation for this class was generated from the following file: