deal.II version GIT relicensing-1838-g97284be5cd 2024-09-11 15:30:00+00:00
Searching...
No Matches
FE_DGVector< PolynomialType, dim, spacedim >::InternalData Class Reference
Inheritance diagram for FE_DGVector< PolynomialType, dim, spacedim >::InternalData:
[legend]

## Public Member Functions

virtual std::size_t memory_consumption () const

## Public Attributes

std::vector< std::vector< Tensor< 1, dim > > > shape_values

std::vector< std::vector< Tensor< 2, dim > > > shape_gradients

UpdateFlags update_each

## Detailed Description

template<typename PolynomialType, int dim, int spacedim = dim>
class FE_DGVector< PolynomialType, dim, spacedim >::InternalData

Fields of cell-independent data.

For information about the general purpose of this class, see the documentation of the base class.

Definition at line 101 of file fe_dg_vector.h.

## ◆ memory_consumption()

template<int dim, int spacedim = dim>
 virtual std::size_t FiniteElement< dim, spacedim >::InternalDataBase::memory_consumption ( ) const
virtualinherited

Return an estimate (in bytes) for the memory consumption of this object.

## ◆ shape_values

template<typename PolynomialType , int dim, int spacedim = dim>
 std::vector > > FE_DGVector< PolynomialType, dim, spacedim >::InternalData::shape_values

Array with shape function values in quadrature points. There is one row for each shape function, containing values for each quadrature point. Since the shape functions are vector-valued (with as many components as there are space dimensions), the value is a tensor.

In this array, we store the values of the shape function in the quadrature points on the unit cell. The transformation to the real space cell is then simply done by multiplication with the Jacobian of the mapping.

Definition at line 115 of file fe_dg_vector.h.

template<typename PolynomialType , int dim, int spacedim = dim>
 std::vector > > FE_DGVector< PolynomialType, dim, spacedim >::InternalData::shape_gradients

Array with shape function gradients in quadrature points. There is one row for each shape function, containing values for each quadrature point.

We store the gradients in the quadrature points on the unit cell. We then only have to apply the transformation (which is a matrix-vector multiplication) when visiting an actual cell.

Definition at line 126 of file fe_dg_vector.h.

## ◆ update_each

template<int dim, int spacedim = dim>
 UpdateFlags FiniteElement< dim, spacedim >::InternalDataBase::update_each
inherited

A set of update flags specifying the kind of information that an implementation of the FiniteElement interface needs to compute on each cell or face, i.e., in FiniteElement::fill_fe_values() and friends.

This set of flags is stored here by implementations of FiniteElement::get_data(), FiniteElement::get_face_data(), or FiniteElement::get_subface_data(), and is that subset of the update flags passed to those functions that require re-computation on every cell. (The subset of the flags corresponding to information that can be computed once and for all already at the time of the call to FiniteElement::get_data() – or an implementation of that interface – need not be stored here because it has already been taken care of.)

Definition at line 719 of file fe.h.

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