deal.II version GIT relicensing-1931-g88c382288c 2024-10-04 03:40:00+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Differentiation::AD::internal::NumberType< T > Struct Template Reference

Detailed Description

template<typename T>
struct Differentiation::AD::internal::NumberType< T >

Provide a convenience function to assist in the casting of some number types to other number types. On top of the standard class definition given in base/numbers.h , this extension allows the conversion of automatic-differentiation numbers to generic floats.

This is necessary because ADOL-C doesn't provide a convenient way to convert from an ADNumberType to floats (T) other than the real-type equivalent that its associated with. For Sacado, and likely other AD number types, the floating point value stored in an ADNumberType must be extracted through some function that is specific to each type of AD number. This requires some specialist intervention to get at this data.

Definition at line 647 of file numbers.h.


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