Reference documentation for deal.II version 9.5.0
\(\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
Public Types | Static Public Attributes | List of all members
Differentiation::AD::internal::ScalarFieldHessian< dim, NumberType, ExtractorType_Row, ExtractorType_Col > Struct Template Reference

#include <deal.II/differentiation/ad/ad_helpers.h>

Public Types

using type = typename HessianType< ExtractorType_Row, ExtractorType_Col >::template type< rank, dim, NumberType >
 

Static Public Attributes

static const int rank
 

Detailed Description

template<int dim, typename NumberType, typename ExtractorType_Row, typename ExtractorType_Col>
struct Differentiation::AD::internal::ScalarFieldHessian< dim, NumberType, ExtractorType_Row, ExtractorType_Col >

A helper struct that defines the final return type of Hessian (second derivative) calculations of scalar fields with respect to fields defined by the two extractor-type template parameters. The first, ExtractorType_Row, defines the field that the first derivatives are taken with respect to while the second, ExtractorType_Col, defines the field that the second derivatives are taken with respect to.

Definition at line 2299 of file ad_helpers.h.

Member Typedef Documentation

◆ type

template<int dim, typename NumberType , typename ExtractorType_Row , typename ExtractorType_Col >
using Differentiation::AD::internal::ScalarFieldHessian< dim, NumberType, ExtractorType_Row, ExtractorType_Col >::type = typename HessianType<ExtractorType_Row, ExtractorType_Col>:: template type<rank, dim, NumberType>

The type associated with computing the Hessian of a scalar field with first respect to the field defined by the ExtractorType_Row and then with respect to the field defined by the ExtractorType_Col.

Definition at line 2313 of file ad_helpers.h.

Member Data Documentation

◆ rank

template<int dim, typename NumberType , typename ExtractorType_Row , typename ExtractorType_Col >
const int Differentiation::AD::internal::ScalarFieldHessian< dim, NumberType, ExtractorType_Row, ExtractorType_Col >::rank
static
Initial value:
= Extractor<dim, ExtractorType_Row>::rank +
Extractor<dim, ExtractorType_Col>::rank

The tensor rank of the resulting derivative computation.

Definition at line 2304 of file ad_helpers.h.


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