Flow123d
release_2.2.0-26-ge868538
|
Affine mapping between reference and actual cell. More...
#include <mapping_p1.hh>
Public Member Functions | |
MappingP1 () | |
Constructor. More... | |
MappingInternalData * | initialize (const Quadrature< dim > &q, UpdateFlags flags) |
Initializes the structures and computes static data. More... | |
UpdateFlags | update_each (UpdateFlags flags) |
Determines which additional quantities have to be computed. More... | |
void | fill_fe_values (const typename DOFHandlerBase::CellIterator &cell, const Quadrature< dim > &q, MappingInternalData &data, FEValuesData< dim, spacedim > &fv_data) |
Calculates the mapping data on the actual cell. More... | |
void | fill_fe_side_values (const typename DOFHandlerBase::CellIterator &cell, unsigned int sid, const Quadrature< dim > &q, MappingInternalData &data, FEValuesData< dim, spacedim > &fv_data) |
Calculates the mapping data on a side of a cell. More... | |
template<> | |
void | fill_fe_side_values (const DOFHandlerBase::CellIterator &cell, unsigned int sid, const Quadrature< 0 > &q, MappingInternalData &data, FEValuesData< 0, 3 > &fv_data) |
Public Member Functions inherited from Mapping< dim, spacedim > | |
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... | |
Private Attributes | |
arma::mat::fixed< dim+1, dim > | grad |
Auxiliary matrix of gradients of shape functions (used for computation of the Jacobian). More... | |
Affine mapping between reference and actual cell.
Class MappingP1 implements the affine transformation of the reference cell onto the actual cell.
dim | Dimension of the cells. |
spacedim | Dimension of the Euclidean space. |
Definition at line 53 of file mapping_p1.hh.
Constructor.
Definition at line 33 of file mapping_p1.cc.
|
virtual |
Calculates the mapping data on a side of a cell.
cell | The actual cell. |
sid | Number of the side. |
q | The quadrature rule with points on the side. |
data | Precomputed mapping data. |
fv_data | Data to be computed. |
Implements Mapping< dim, spacedim >.
Definition at line 176 of file mapping_p1.cc.
void MappingP1< 0, 3 >::fill_fe_side_values | ( | const DOFHandlerBase::CellIterator & | cell, |
unsigned int | sid, | ||
const Quadrature< 0 > & | q, | ||
MappingInternalData & | data, | ||
FEValuesData< 0, 3 > & | fv_data | ||
) |
Definition at line 280 of file mapping_p1.cc.
|
virtual |
Calculates the mapping data on the actual cell.
cell | The actual cell. |
q | Quadrature rule. |
data | Precomputed mapping data. |
fv_data | Data to be computed. |
Implements Mapping< dim, spacedim >.
Definition at line 100 of file mapping_p1.cc.
|
virtual |
Initializes the structures and computes static data.
q | Quadrature rule. |
flags | Update flags. |
Implements Mapping< dim, spacedim >.
Definition at line 38 of file mapping_p1.cc.
|
virtual |
Determines which additional quantities have to be computed.
flags | Update flags for required quantities. |
Implements Mapping< dim, spacedim >.
Definition at line 83 of file mapping_p1.cc.
|
private |
Auxiliary matrix of gradients of shape functions (used for computation of the Jacobian).
Definition at line 114 of file mapping_p1.hh.