PolyDEAL
Loading...
Searching...
No Matches
MappingBox< dim, spacedim >::InternalData Class Reference

#include <mapping_box.h>

Inheritance diagram for MappingBox< dim, spacedim >::InternalData:
Mapping< int dim, int spacedim >::InternalDataBase

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 Member Functions inherited from Mapping< int dim, int spacedim >::InternalDataBase
 InternalDataBase ()
 InternalDataBase (const InternalDataBase &)=delete
virtual ~InternalDataBase ()=default

Public Attributes

Tensor< 1, dim > cell_extents
Tensor< 1, dim > traslation
Tensor< 1, dim > inverse_cell_extents
double volume_element
std::vector< Point< dim > > quadrature_points
Public Attributes inherited from Mapping< int dim, int spacedim >::InternalDataBase
UpdateFlags update_each

Detailed Description

template<int dim, int spacedim = dim>
class MappingBox< 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 192 of file mapping_box.h.

Constructor & Destructor Documentation

◆ InternalData() [1/2]

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

Default constructor.

◆ InternalData() [2/2]

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

Constructor that initializes the object with a quadrature.

Definition at line 86 of file mapping_box.cc.

References cell_extents, inverse_cell_extents, quadrature_points, traslation, and volume_element.

Member Function Documentation

◆ memory_consumption()

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

◆ reinit()

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

Member Data Documentation

◆ cell_extents

template<int dim, int spacedim = dim>
Tensor<1, dim> MappingBox< 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 220 of file mapping_box.h.

Referenced by InternalData(), and memory_consumption().

◆ inverse_cell_extents

template<int dim, int spacedim = dim>
Tensor<1, dim> MappingBox< 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 232 of file mapping_box.h.

Referenced by InternalData(), and memory_consumption().

◆ quadrature_points

template<int dim, int spacedim = dim>
std::vector<Point<dim> > MappingBox< 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 244 of file mapping_box.h.

Referenced by InternalData().

◆ traslation

template<int dim, int spacedim = dim>
Tensor<1, dim> MappingBox< dim, spacedim >::InternalData::traslation
mutable

Traslation term in F(\hat{x})=J\hat{x} + c.

Definition at line 225 of file mapping_box.h.

Referenced by InternalData(), and memory_consumption().

◆ volume_element

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

The volume element

Definition at line 237 of file mapping_box.h.

Referenced by InternalData(), and memory_consumption().


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