Loading...
Searching...
No Matches
Math.hpp File Reference

A number of commonly used algebraic functions for the localized OPM automatic differentiation (AD) framework. More...

`#include "Evaluation.hpp"`
`#include <opm/material/common/MathToolbox.hpp>`
`#include <opm/common/utility/gpuDecorators.hpp>`

Go to the source code of this file.

## Classes

struct | Opm::MathToolbox< DenseAd::Evaluation< ValueT, numVars, staticSize > >

## Namespaces

namespace | Opm
| This class implements a small container which holds the transmissibility mulitpliers for all the faces in the grid.

## Functions

template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::abs (const Evaluation< ValueType, numVars, staticSize > &x)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::min (const Evaluation< ValueType, numVars, staticSize > &x1, const Evaluation< ValueType, numVars, staticSize > &x2)
template<class Arg1ValueType , class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::min (const Arg1ValueType &x1, const Evaluation< ValueType, numVars, staticSize > &x2)
template<class ValueType , int numVars, unsigned staticSize, class Arg2ValueType >
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::min (const Evaluation< ValueType, numVars, staticSize > &x1, const Arg2ValueType &x2)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::max (const Evaluation< ValueType, numVars, staticSize > &x1, const Evaluation< ValueType, numVars, staticSize > &x2)
template<class Arg1ValueType , class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::max (const Arg1ValueType &x1, const Evaluation< ValueType, numVars, staticSize > &x2)
template<class ValueType , int numVars, unsigned staticSize, class Arg2ValueType >
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::max (const Evaluation< ValueType, numVars, staticSize > &x1, const Arg2ValueType &x2)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::tan (const Evaluation< ValueType, numVars, staticSize > &x)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::atan (const Evaluation< ValueType, numVars, staticSize > &x)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::atan2 (const Evaluation< ValueType, numVars, staticSize > &x, const Evaluation< ValueType, numVars, staticSize > &y)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::atan2 (const Evaluation< ValueType, numVars, staticSize > &x, const ValueType &y)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::atan2 (const ValueType &x, const Evaluation< ValueType, numVars, staticSize > &y)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::sin (const Evaluation< ValueType, numVars, staticSize > &x)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::asin (const Evaluation< ValueType, numVars, staticSize > &x)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::sinh (const Evaluation< ValueType, numVars, staticSize > &x)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::asinh (const Evaluation< ValueType, numVars, staticSize > &x)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::cos (const Evaluation< ValueType, numVars, staticSize > &x)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::acos (const Evaluation< ValueType, numVars, staticSize > &x)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::cosh (const Evaluation< ValueType, numVars, staticSize > &x)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::acosh (const Evaluation< ValueType, numVars, staticSize > &x)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::sqrt (const Evaluation< ValueType, numVars, staticSize > &x)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::exp (const Evaluation< ValueType, numVars, staticSize > &x)
template<class ValueType , int numVars, unsigned staticSize, class ExpType >
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::pow (const Evaluation< ValueType, numVars, staticSize > &base, const ExpType &exp)
template<class BaseType , class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::pow (const BaseType &base, const Evaluation< ValueType, numVars, staticSize > &exp)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::pow (const Evaluation< ValueType, numVars, staticSize > &base, const Evaluation< ValueType, numVars, staticSize > &exp)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::log (const Evaluation< ValueType, numVars, staticSize > &x)
template<class ValueType , int numVars, unsigned staticSize>
OPM_HOST_DEVICE Evaluation< ValueType, numVars, staticSize > | Opm::DenseAd::log10 (const Evaluation< ValueType, numVars, staticSize > &x)

## Detailed Description

A number of commonly used algebraic functions for the localized OPM automatic differentiation (AD) framework.

This file provides AD variants of the the most commonly used functions of the <cmath> header file.