OpenLB 1.7
|
Definition of a description of a algoritmic differentiation data type using the forward method. More...
#include <aDiff.h>
Public Types | |
using | base_t = T |
Public Member Functions | |
constexpr | ADf () |
constexpr | ADf (const ADf &a) |
constexpr | ADf (const T &v) |
constexpr | ADf (const T &v, const Vector< T, DIM > &d) |
constexpr | ADf (ADf &&a) |
constexpr T & | v () |
constexpr T & | d (unsigned i) |
constexpr const T & | d (unsigned i) const |
constexpr Vector< T, DIM > & | d () |
constexpr ADf & | operator= (const ADf &a) |
constexpr ADf & | operator= (ADf &&a) |
constexpr ADf & | operator= (const T &v) |
constexpr ADf & | operator+= (const ADf &a) |
constexpr ADf & | operator+= (const T &v) |
constexpr ADf & | operator-= (const ADf &a) |
constexpr ADf & | operator-= (const T &v) |
constexpr ADf & | operator*= (const ADf &a) |
constexpr ADf & | operator*= (const T &v) |
constexpr ADf & | operator/= (const ADf &a) |
constexpr ADf & | operator/= (const T &v) |
constexpr void | setDiffVariable (unsigned iD) |
constexpr bool | hasZeroDerivative () const |
tests if ADf has only zero derivatives | |
constexpr | operator base_t () const |
Public Attributes | |
T | _v = T() |
value | |
Vector< T, DIM > | _d = ( T( 0 ) ) |
derivatives | |
Static Public Attributes | |
static constexpr unsigned | dim = DIM |
Definition of a description of a algoritmic differentiation data type using the forward method.
An ADf is a data type which enables the calculation of derivatives by means of algorithmic differentiation.
This class is not intended to be derived from. See olb::meta::is_arithmetic
using olb::util::ADf< T, DIM >::base_t = T |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 212 of file aDiff.h.
References olb::util::ADf< T, DIM >::_d, and olb::util::ADf< T, DIM >::_v.
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 182 of file aDiff.h.
References olb::util::ADf< T, DIM >::_d, and olb::util::ADf< T, DIM >::_v.
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 197 of file aDiff.h.
References olb::util::ADf< T, DIM >::_d, and olb::util::ADf< T, DIM >::_v.
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 228 of file aDiff.h.
References olb::util::ADf< T, DIM >::_d, and olb::util::ADf< T, DIM >::_v.
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 166 of file aDiff.h.
References olb::util::ADf< T, DIM >::_v.
|
inlineconstexpr |
Definition at line 158 of file aDiff.h.
References olb::util::ADf< T, DIM >::_d, and olb::util::ADf< T, DIM >::_v.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Vector<T,DIM> olb::util::ADf< T, DIM >::_d = ( T( 0 ) ) |
T olb::util::ADf< T, DIM >::_v = T() |
|
staticconstexpr |