Opm::Reduction Namespace Reference

Namespaces

namespace  detail
 

Classes

struct  InnerProductFunctor
 An operator for computing a parallel inner product. More...
 
struct  MaskIDOperator
 An operator that only uses values where mask is 1. More...
 
struct  MaskToMaxOperator
 An operator that converts the values where mask is 0 to the maximum value. More...
 
struct  MaskToMinOperator
 An operator that converts the values where mask is 0 to the minimum value. More...
 

Functions

template<class T >
MaskIDOperator< std::plus< T > > makeGlobalSumFunctor ()
 Create a functor for computing a global sum. More...
 
template<class T >
auto makeGlobalMaxFunctor ()
 Create a functor for computing a global maximum. More...
 
template<class T >
MaskIDOperator< detail::MaxAbsFunctor< T > > makeLInfinityNormFunctor ()
 Create a functor for computing a global L infinity norm. More...
 
template<class T >
auto makeGlobalMinFunctor ()
 Create a functor for computing a global minimum. More...
 
template<class T >
InnerProductFunctor< T > makeInnerProductFunctor ()
 

Function Documentation

◆ makeGlobalMaxFunctor()

template<class T >
auto Opm::Reduction::makeGlobalMaxFunctor ( )

Create a functor for computing a global maximum.

To be used with ParallelISTLInformation::computeReduction.

◆ makeGlobalMinFunctor()

template<class T >
auto Opm::Reduction::makeGlobalMinFunctor ( )

Create a functor for computing a global minimum.

To be used with ParallelISTLInformation::computeReduction.

◆ makeGlobalSumFunctor()

template<class T >
MaskIDOperator< std::plus< T > > Opm::Reduction::makeGlobalSumFunctor ( )

Create a functor for computing a global sum.

To be used with ParallelISTLInformation::computeReduction.

◆ makeInnerProductFunctor()

template<class T >
InnerProductFunctor< T > Opm::Reduction::makeInnerProductFunctor ( )

◆ makeLInfinityNormFunctor()

template<class T >
MaskIDOperator< detail::MaxAbsFunctor< T > > Opm::Reduction::makeLInfinityNormFunctor ( )

Create a functor for computing a global L infinity norm.

To be used with ParallelISTLInformation::computeReduction.