Flow123d  release_2.2.0-33-g759111d
Public Member Functions | List of all members
Mapping< dim, spacedim > Class Template Referenceabstract

Abstract class for the mapping between reference and actual cell. More...

#include <fe_values.hh>

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

Public Member Functions

virtual MappingInternalDatainitialize (const Quadrature< dim > &q, UpdateFlags flags)=0
 Calculates the mapping data on the reference cell. More...
 
virtual UpdateFlags update_each (UpdateFlags flags)=0
 Decides which additional quantities have to be computed for each cell. More...
 
virtual void fill_fe_values (const typename DOFHandlerBase::CellIterator &cell, const Quadrature< dim > &q, MappingInternalData &data, FEValuesData< dim, spacedim > &fv_data)=0
 Calculates the mapping data and stores them in the provided structures. More...
 
virtual void fill_fe_side_values (const typename DOFHandlerBase::CellIterator &cell, unsigned int sid, const Quadrature< dim > &q, MappingInternalData &data, FEValuesData< dim, spacedim > &fv_data)=0
 Calculates the mapping data related to a given side, namely the jacobian determinants and the normal vectors. More...
 
void transform_subquadrature (unsigned int sid, unsigned int pid, const Quadrature< dim-1 > &subq, Quadrature< dim > &q)
 Creates a cell dim-dimensional quadrature from side (dim-1)-dimensional quadrature. More...
 
virtual ~Mapping ()
 Destructor. More...
 

Detailed Description

template<unsigned int dim, unsigned int spacedim>
class Mapping< dim, spacedim >

Abstract class for the mapping between reference and actual cell.

Class Mapping calculates data related to the mapping of the reference cell to the actual cell, such as Jacobian and normal vectors.

Definition at line 33 of file fe_values.hh.

Constructor & Destructor Documentation

template<unsigned int dim, unsigned int spacedim>
virtual Mapping< dim, spacedim >::~Mapping ( )
inlinevirtual

Destructor.

Definition at line 184 of file mapping.hh.

Member Function Documentation

template<unsigned int dim, unsigned int spacedim>
virtual void Mapping< dim, spacedim >::fill_fe_side_values ( const typename DOFHandlerBase::CellIterator cell,
unsigned int  sid,
const Quadrature< dim > &  q,
MappingInternalData data,
FEValuesData< dim, spacedim > &  fv_data 
)
pure virtual

Calculates the mapping data related to a given side, namely the jacobian determinants and the normal vectors.

Parameters
cellThe actual cell.
sideNumber of the side.
qQuadrature rule.
dataPrecomputed mapping data.
fv_dataData to be computed.

Implemented in MappingP1< dim, spacedim >, MappingP1< 2, 3 >, MappingP1< 1, 3 >, MappingP1< dim, 3 >, and MappingP1< 3, 3 >.

template<unsigned int dim, unsigned int spacedim>
virtual void Mapping< dim, spacedim >::fill_fe_values ( const typename DOFHandlerBase::CellIterator cell,
const Quadrature< dim > &  q,
MappingInternalData data,
FEValuesData< dim, spacedim > &  fv_data 
)
pure virtual

Calculates the mapping data and stores them in the provided structures.

Parameters
cellThe actual cell.
qQuadrature rule.
dataPrecomputed mapping data.
fv_dataData to be computed.

Implemented in MappingP1< dim, spacedim >, MappingP1< 2, 3 >, MappingP1< 1, 3 >, MappingP1< dim, 3 >, and MappingP1< 3, 3 >.

template<unsigned int dim, unsigned int spacedim>
virtual MappingInternalData* Mapping< dim, spacedim >::initialize ( const Quadrature< dim > &  q,
UpdateFlags  flags 
)
pure virtual

Calculates the mapping data on the reference cell.

Parameters
qQuadrature rule.
flagsUpdate flags.

Implemented in MappingP1< dim, spacedim >, MappingP1< 2, 3 >, MappingP1< 1, 3 >, MappingP1< dim, 3 >, and MappingP1< 3, 3 >.

template<unsigned int dim, unsigned int spacedim>
void Mapping< dim, spacedim >::transform_subquadrature ( unsigned int  sid,
unsigned int  pid,
const Quadrature< dim-1 > &  subq,
Quadrature< dim > &  q 
)
inline

Creates a cell dim-dimensional quadrature from side (dim-1)-dimensional quadrature.

Parameters
cellThe actual cell.
sidThe side id.
pidPermutations index.
subqdim-1 dimensional quadrature for integration on the side.
qThe computed dim dimensional quadrature.

Definition at line 190 of file mapping.hh.

template<unsigned int dim, unsigned int spacedim>
virtual UpdateFlags Mapping< dim, spacedim >::update_each ( UpdateFlags  flags)
pure virtual

Decides which additional quantities have to be computed for each cell.

Parameters
flagsFlags of required quantities.
Returns
Flags of all necessary quantities.

Implemented in MappingP1< dim, spacedim >, MappingP1< 2, 3 >, MappingP1< 1, 3 >, MappingP1< dim, 3 >, and MappingP1< 3, 3 >.


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