deal.II version GIT relicensing-6917-gb466a1809f 2026-10-16 06:30:01+00:00
\(\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 Member Functions | Public Attributes | List of all members
MappingP1< dim, spacedim >::InternalData Class Reference

#include <deal.II/fe/mapping_p1.h>

Detailed Description

template<int dim, int spacedim = dim>
class MappingP1< dim, spacedim >::InternalData

Storage for internal data of the mapping. See Mapping::InternalDataBase for an extensive description.

This includes data that is computed once when the object is created (in get_data()) as well as data the class wants to store from between the call to fill_fe_values(), fill_fe_face_values(), or fill_fe_subface_values() until possible later calls from the finite element to functions such as transform(). The latter class of member variables are marked as 'mutable'.

Definition at line 198 of file mapping_p1.h.

Inheritance diagram for MappingP1< dim, spacedim >::InternalData:
[legend]

Public Member Functions

 InternalData (const ArrayView< const Point< dim > > &quadrature_points)
 
 InternalData (const Quadrature< dim > &quadrature)
 
virtual void reinit (const UpdateFlags update_flags, const Quadrature< dim > &quadrature) override
 
virtual std::size_t memory_consumption () const override
 

Public Attributes

Tensor< 1, spacedim > affine_component
 
DerivativeForm< 1, dim, spacedim > contravariant
 
DerivativeForm< 1, dim, spacedim > covariant
 
double volume_element
 
Quadrature< dim > quadrature
 
UpdateFlags update_each
 

Constructor & Destructor Documentation

◆ InternalData() [1/2]

template<int dim, int spacedim>
MappingP1< dim, spacedim >::InternalData::InternalData ( const ArrayView< const Point< dim > > &  quadrature_points)

Constructor for use with arbitrary points.

Definition at line 50 of file mapping_p1.cc.

◆ InternalData() [2/2]

template<int dim, int spacedim>
MappingP1< dim, spacedim >::InternalData::InternalData ( const Quadrature< dim > &  quadrature)

Constructor.

Definition at line 59 of file mapping_p1.cc.

Member Function Documentation

◆ reinit()

template<int dim, int spacedim>
void MappingP1< dim, spacedim >::InternalData::reinit ( const UpdateFlags  update_flags,
const Quadrature< dim > &  quadrature 
)
overridevirtual

Definition at line 68 of file mapping_p1.cc.

◆ memory_consumption()

template<int dim, int spacedim>
std::size_t MappingP1< dim, spacedim >::InternalData::memory_consumption ( ) const
overridevirtual

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

Definition at line 80 of file mapping_p1.cc.

Member Data Documentation

◆ affine_component

template<int dim, int spacedim = dim>
Tensor<1, spacedim> MappingP1< dim, spacedim >::InternalData::affine_component
mutable

Affine component of the transformation.

Definition at line 224 of file mapping_p1.h.

◆ contravariant

template<int dim, int spacedim = dim>
DerivativeForm<1, dim, spacedim> MappingP1< dim, spacedim >::InternalData::contravariant
mutable

Linear component of the transformation (the contravariant).

Definition at line 229 of file mapping_p1.h.

◆ covariant

template<int dim, int spacedim = dim>
DerivativeForm<1, dim, spacedim> MappingP1< dim, spacedim >::InternalData::covariant
mutable

Covariant form of the linear transformation.

Definition at line 234 of file mapping_p1.h.

◆ volume_element

template<int dim, int spacedim = dim>
double MappingP1< dim, spacedim >::InternalData::volume_element
mutable

Determinant of linear_component.

Definition at line 239 of file mapping_p1.h.

◆ quadrature

template<int dim, int spacedim = dim>
Quadrature<dim> MappingP1< dim, spacedim >::InternalData::quadrature

Quadrature. May be an amalgamation of rules created by, e.g., QProjector::project_to_all_faces().

Definition at line 245 of file mapping_p1.h.

◆ update_each

UpdateFlags Mapping< dim, spacedim >::InternalDataBase::update_each
inherited

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

This set of flags is stored here by implementations of Mapping::get_data(), Mapping::get_face_data(), or Mapping::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 Mapping::get_data() – or an implementation of that interface – need not be stored here because it has already been taken care of.)

Definition at line 703 of file mapping.h.


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