deal.II version GIT relicensing-2206-gaa53ff9447 2024-12-02 09:10:00+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
MappingCartesian< dim, spacedim >::InternalData Class Reference

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

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

Public Member Functions

 InternalData ()=default
 
 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, dim > cell_extents
 
Tensor< 1, dim > inverse_cell_extents
 
double volume_element
 
std::vector< Point< dim > > quadrature_points
 
UpdateFlags update_each
 

Detailed Description

template<int dim, int spacedim = dim>
class MappingCartesian< 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 208 of file mapping_cartesian.h.

Constructor & Destructor Documentation

◆ InternalData() [1/2]

template<int dim, int spacedim = dim>
MappingCartesian< dim, spacedim >::InternalData::InternalData ( )
default

Default constructor.

◆ InternalData() [2/2]

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

Constructor that initializes the object with a quadrature.

Definition at line 91 of file mapping_cartesian.cc.

Member Function Documentation

◆ reinit()

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

Definition at line 103 of file mapping_cartesian.cc.

◆ memory_consumption()

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

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

Definition at line 117 of file mapping_cartesian.cc.

Member Data Documentation

◆ cell_extents

template<int dim, int spacedim = dim>
Tensor<1, dim> MappingCartesian< dim, spacedim >::InternalData::cell_extents
mutable

Extents of the last cell we have seen in the coordinate directions, i.e., hx, hy, hz.

Definition at line 236 of file mapping_cartesian.h.

◆ inverse_cell_extents

template<int dim, int spacedim = dim>
Tensor<1, dim> MappingCartesian< dim, spacedim >::InternalData::inverse_cell_extents
mutable

Reciprocal of the extents of the last cell we have seen in the coordinate directions, i.e., hx, hy, hz.

Definition at line 243 of file mapping_cartesian.h.

◆ volume_element

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

The volume element

Definition at line 248 of file mapping_cartesian.h.

◆ quadrature_points

template<int dim, int spacedim = dim>
std::vector<Point<dim> > MappingCartesian< dim, spacedim >::InternalData::quadrature_points

Location of quadrature points of faces or subfaces in 3d with all possible orientations. Can be accessed with the correct offset provided via QProjector::DataSetDescriptor. Not needed/used for cells.

Definition at line 255 of file mapping_cartesian.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 691 of file mapping.h.


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