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

#include <mapping_box.h>

Inheritance diagram for MappingBox< dim, spacedim >::InternalData:
Mapping::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::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::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 187 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.

Member Function Documentation

◆ memory_consumption()

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

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

Reimplemented from Mapping::InternalDataBase.

Definition at line 111 of file mapping_box.cc.

References MemoryConsumption::memory_consumption().

◆ reinit()

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

Reimplemented from Mapping::InternalDataBase.

Definition at line 98 of file mapping_box.cc.

Member Data Documentation

◆ cell_extents

◆ inverse_cell_extents

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

◆ 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 239 of file mapping_box.h.

◆ 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 220 of file mapping_box.h.

Referenced by MappingBox< dim, spacedim >::update_cell_extents().

◆ volume_element


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