Reference documentation for deal.II version 9.3.3
\(\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\}}\)
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
DerivativeApproximation::internal::ThirdDerivative< dim > Class Template Reference

Public Types

using Derivative = Tensor< 3, dim >
using ProjectedDerivative = Tensor< 2, dim >

Public Member Functions

double derivative_norm (const Derivative &d)

Static Public Member Functions

template<class InputVector , int spacedim>
static ProjectedDerivative get_projected_derivative (const FEValues< dim, spacedim > &fe_values, const InputVector &solution, const unsigned int component)
static double derivative_norm (const Derivative &d)
static void symmetrize (Derivative &derivative_tensor)

Static Public Attributes

static const UpdateFlags update_flags = update_hessians

Detailed Description

template<int dim>
class DerivativeApproximation::internal::ThirdDerivative< dim >

Definition at line 526 of file

Member Typedef Documentation

◆ Derivative

template<int dim>
using DerivativeApproximation::internal::ThirdDerivative< dim >::Derivative = Tensor<3, dim>

Declare the data type which holds the derivative described by this class.

Definition at line 540 of file

◆ ProjectedDerivative

template<int dim>
using DerivativeApproximation::internal::ThirdDerivative< dim >::ProjectedDerivative = Tensor<2, dim>

Likewise declare the data type that holds the derivative projected to a certain directions.

Definition at line 546 of file

Member Function Documentation

◆ get_projected_derivative()

template<int dim>
template<class InputVector , int spacedim>
ThirdDerivative< dim >::ProjectedDerivative DerivativeApproximation::internal::ThirdDerivative< dim >::get_projected_derivative ( const FEValues< dim, spacedim > &  fe_values,
const InputVector &  solution,
const unsigned int  component 

Given an FEValues object initialized to a cell, and a solution vector, extract the desired derivative at the first quadrature point (which is the only one, as we only evaluate the finite element field at the center of each cell).

Definition at line 590 of file

◆ derivative_norm() [1/2]

template<int dim>
double DerivativeApproximation::internal::ThirdDerivative< dim >::derivative_norm ( const Derivative d)

Return the norm of the derivative object. Here, for the (symmetric) tensor of second derivatives, we choose the absolute value of the largest eigenvalue, which is the matrix norm associated to the \(l_2\) norm of vectors. It is also the largest value of the curvature of the solution.

Definition at line 628 of file

◆ symmetrize()

template<int dim>
void DerivativeApproximation::internal::ThirdDerivative< dim >::symmetrize ( Derivative derivative_tensor)

If for the present derivative order, symmetrization of the derivative tensor is necessary, then do so on the argument.

For the second derivatives, each entry of the tensor is set to the mean of its value and the value of the transpose element.

Note that this function actually modifies its argument.

Definition at line 638 of file

◆ derivative_norm() [2/2]

double DerivativeApproximation::internal::ThirdDerivative< 1 >::derivative_norm ( const Derivative d)

Definition at line 619 of file

Member Data Documentation

◆ update_flags

template<int dim>
const UpdateFlags DerivativeApproximation::internal::ThirdDerivative< dim >::update_flags = update_hessians

Declare which data fields have to be updated for the function get_projected_derivative to work.

Definition at line 533 of file

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