Reference documentation for deal.II version GIT relicensing-822-gf1642d4ea5 2024-06-12 14:10:02+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::Marking< ADNumberType, T > Struct Template Reference

Detailed Description

template<typename ADNumberType, typename T = void>
struct Differentiation::AD::internal::Marking< ADNumberType, T >

A struct to assist with the marking of AD numbers that represent independent and dependent variables.

The specializations of this class have to implement the following member functions:

// Initialize the state of an independent variable.
static void
const unsigned int index,
const unsigned int n_independent_variables,
// Initialize the state of a dependent variable.
static void
const ADNumberType &func);

where ADNumberType is the auto-differentiable number type and ScalarType is its floating point counterpart.

Template Parameters
ADNumberTypeA type corresponding to a supported auto-differentiable number.
TAn arbitrary type resulting from the application of the SFINAE idiom to selectively specialize this class.

Definition at line 142 of file ad_number_traits.h.


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