DerivativeApproximation::ThirdDerivative< dim > Class Template Reference

List of all members.

Public Types

typedef Tensor< 3, dim > Derivative
typedef Tensor< 2, dim > ProjectedDerivative

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

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


Member Typedef Documentation

template<int dim>
typedef Tensor<3,dim> DerivativeApproximation::ThirdDerivative< dim >::Derivative

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

template<int dim>
typedef Tensor<2,dim> DerivativeApproximation::ThirdDerivative< dim >::ProjectedDerivative

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


Member Function Documentation

template<int dim>
template<class InputVector , int spacedim>
static ProjectedDerivative DerivativeApproximation::ThirdDerivative< dim >::get_projected_derivative ( const FEValues< dim, spacedim > &  fe_values,
const InputVector &  solution,
const unsigned int  component 
) [inline, static]

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).

template<int dim>
static double DerivativeApproximation::ThirdDerivative< dim >::derivative_norm ( const Derivative d  )  [static]

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.

template<int dim>
static void DerivativeApproximation::ThirdDerivative< dim >::symmetrize ( Derivative derivative_tensor  )  [static]

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.


Member Data Documentation

template<int dim>
const UpdateFlags DerivativeApproximation::ThirdDerivative< dim >::update_flags [static]

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


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

deal.II documentation generated on Sat Aug 15 16:51:49 2009 by doxygen 1.5.9