Flow123d  release_3.0.0-1141-g4222d07
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 ElementAccessor< 3 > &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 ElementAccessor< 3 > &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...
 
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 38 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 170 of file mapping.hh.

Member Function Documentation

template<unsigned int dim, unsigned int spacedim>
virtual void Mapping< dim, spacedim >::fill_fe_side_values ( const ElementAccessor< 3 > &  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 >, MappingP1< dim+1, 3 >, MappingP1< elemdim, 3 >, and MappingP1< 3, 3 >.

template<unsigned int dim, unsigned int spacedim>
virtual void Mapping< dim, spacedim >::fill_fe_values ( const ElementAccessor< 3 > &  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 >, MappingP1< dim+1, 3 >, MappingP1< elemdim, 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 >, MappingP1< dim+1, 3 >, MappingP1< elemdim, 3 >, and MappingP1< 3, 3 >.

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 >, MappingP1< dim+1, 3 >, MappingP1< elemdim, 3 >, and MappingP1< 3, 3 >.


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