Reference documentation for deal.II version 9.6.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
DerivativeApproximation::internal Namespace Reference

Namespaces

namespace  Assembler
 

Classes

class  DerivativeSelector
 
class  DerivativeSelector< 1, dim >
 
class  DerivativeSelector< 2, dim >
 
class  DerivativeSelector< 3, dim >
 
class  Gradient
 
class  SecondDerivative
 
class  ThirdDerivative
 

Functions

template<class DerivativeDescription , int dim, class InputVector , int spacedim>
void approximate_cell (const Mapping< dim, spacedim > &mapping, const DoFHandler< dim, spacedim > &dof_handler, const InputVector &solution, const unsigned int component, const typename DoFHandler< dim, spacedim >::active_cell_iterator &cell, typename DerivativeDescription::Derivative &derivative)
 
template<class DerivativeDescription , int dim, class InputVector , int spacedim>
void approximate (const SynchronousIterators< std::tuple< typename DoFHandler< dim, spacedim >::active_cell_iterator, Vector< float >::iterator > > &cell, const Mapping< dim, spacedim > &mapping, const DoFHandler< dim, spacedim > &dof_handler, const InputVector &solution, const unsigned int component)
 
template<class DerivativeDescription , int dim, class InputVector , int spacedim>
void approximate_derivative (const Mapping< dim, spacedim > &mapping, const DoFHandler< dim, spacedim > &dof_handler, const InputVector &solution, const unsigned int component, Vector< float > &derivative_norm)
 

Function Documentation

◆ approximate_cell()

template<class DerivativeDescription , int dim, class InputVector , int spacedim>
void DerivativeApproximation::internal::approximate_cell ( const Mapping< dim, spacedim > & mapping,
const DoFHandler< dim, spacedim > & dof_handler,
const InputVector & solution,
const unsigned int component,
const typename DoFHandler< dim, spacedim >::active_cell_iterator & cell,
typename DerivativeDescription::Derivative & derivative )

Compute the derivative approximation on one cell. This computes the full derivative tensor.

Definition at line 744 of file derivative_approximation.cc.

◆ approximate()

template<class DerivativeDescription , int dim, class InputVector , int spacedim>
void DerivativeApproximation::internal::approximate ( const SynchronousIterators< std::tuple< typename DoFHandler< dim, spacedim >::active_cell_iterator, Vector< float >::iterator > > & cell,
const Mapping< dim, spacedim > & mapping,
const DoFHandler< dim, spacedim > & dof_handler,
const InputVector & solution,
const unsigned int component )

Compute the derivative approximation on a given cell. Fill the derivative_norm vector with the norm of the computed derivative tensors on the cell.

Definition at line 919 of file derivative_approximation.cc.

◆ approximate_derivative()

template<class DerivativeDescription , int dim, class InputVector , int spacedim>
void DerivativeApproximation::internal::approximate_derivative ( const Mapping< dim, spacedim > & mapping,
const DoFHandler< dim, spacedim > & dof_handler,
const InputVector & solution,
const unsigned int component,
Vector< float > & derivative_norm )

Kind of the main function of this class. It is called by the public entry points to this class with the correct template first argument and then simply calls the approximate function, after setting up several threads and doing some administration that is independent of the actual derivative to be computed.

The component argument denotes which component of the solution vector we are to work on.

Definition at line 967 of file derivative_approximation.cc.