deal.II version 9.7.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
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 195 of file mapping_p1.h.

Inheritance diagram for MappingP1< dim, spacedim >::InternalData:

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 > linear_component
DerivativeForm< 1, dim, spacedim > covariant
double determinant
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 52 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 61 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

This function initializes the data fields related to evaluation of the mapping on cells, implemented by (derived) classes. This function is used both when setting up a field of this class for the first time or when a new Quadrature formula should be considered without creating an entirely new object. This is used when the number of evaluation points is different on each cell, e.g. when using FEPointEvaluation for handling particles or with certain non-matching problem settings.

Reimplemented from Mapping< dim, spacedim >::InternalDataBase.

Definition at line 70 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.

Reimplemented from Mapping< dim, spacedim >::InternalDataBase.

Definition at line 82 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 221 of file mapping_p1.h.

◆ linear_component

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

Linear component of the transformation (the contravariant).

Definition at line 226 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 231 of file mapping_p1.h.

◆ determinant

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

Determinant of linear_component.

Definition at line 236 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 242 of file mapping_p1.h.

◆ update_each

template<int dim, int spacedim = dim>
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 704 of file mapping.h.


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