Flow123d
release_2.2.1-10-gb9fad4d
|
Base class for FEValues and FESideValues. More...
#include <fe_values.hh>
Public Member Functions | |
FEValuesBase () | |
Default constructor. More... | |
virtual | ~FEValuesBase () |
void | allocate (Mapping< dim, spacedim > &_mapping, Quadrature< dim > &_quadrature, FiniteElement< dim, spacedim > &_fe, UpdateFlags flags) |
Allocates space for computed data. More... | |
UpdateFlags | update_each (UpdateFlags flags) |
Determine quantities to be recomputed on each cell. More... | |
double | shape_value (const unsigned int function_no, const unsigned int point_no) |
Return the value of the function_no-th shape function at the point_no-th quadrature point. More... | |
arma::vec::fixed< spacedim > | shape_grad (const unsigned int function_no, const unsigned int point_no) |
Return the gradient of the function_no-th shape function at the point_no-th quadrature point. More... | |
arma::vec::fixed< spacedim > | shape_vector (const unsigned int function_no, const unsigned int point_no) |
Return the value of the function_no-th shape function at the point_no-th quadrature point. More... | |
arma::mat::fixed< spacedim, spacedim > | shape_grad_vector (const unsigned int function_no, const unsigned int point_no) |
Return the gradient of the function_no-th shape function at the point_no-th quadrature point. More... | |
double | determinant (const unsigned int point_no) |
Return the relative volume change of the cell (Jacobian determinant). More... | |
double | JxW (const unsigned int point_no) |
Return the product of Jacobian determinant and the quadrature weight at given quadrature point. More... | |
arma::vec::fixed< spacedim > | point (const unsigned int point_no) |
Return coordinates of the quadrature point in the actual cell system. More... | |
vector< arma::vec::fixed< spacedim > > & | point_list () |
Return coordinates of all quadrature points in the actual cell system. More... | |
arma::vec::fixed< spacedim > | normal_vector (unsigned int point_no) |
Returns the normal vector to a side at given quadrature point. More... | |
unsigned int | n_points () |
Returns the number of quadrature points. More... | |
unsigned int | n_dofs () |
Returns the number of shape functions. More... | |
Quadrature< dim > * | get_quadrature () const |
Returns the quadrature in use. More... | |
FiniteElement< dim, spacedim > * | get_fe () const |
Returns the finite element in use. More... | |
Mapping< dim, spacedim > * | get_mapping () const |
Returns the mapping in use. More... | |
Public Member Functions inherited from FEValuesSpaceBase< spacedim > | |
virtual | ~FEValuesSpaceBase () |
Protected Attributes | |
Mapping< dim, spacedim > * | mapping |
The mapping from the reference cell to the actual cell. More... | |
Quadrature< dim > * | quadrature |
The quadrature rule used to calculate integrals. More... | |
FiniteElement< dim, spacedim > * | fe |
The used finite element. More... | |
MappingInternalData * | mapping_data |
Precomputed mapping data. More... | |
FEInternalData * | fe_data |
Precomputed finite element data. More... | |
FEValuesData< dim, spacedim > | data |
Data computed by the mapping and finite element. More... | |
Base class for FEValues and FESideValues.
Definition at line 32 of file fe_values.hh.
FEValuesBase< dim, spacedim >::FEValuesBase | ( | ) |
Default constructor.
Definition at line 95 of file fe_values.cc.
|
virtual |
Correct deallocation of objects created by 'initialize' methods.
Definition at line 103 of file fe_values.cc.
void FEValuesBase< dim, spacedim >::allocate | ( | Mapping< dim, spacedim > & | _mapping, |
Quadrature< dim > & | _quadrature, | ||
FiniteElement< dim, spacedim > & | _fe, | ||
UpdateFlags | flags | ||
) |
Allocates space for computed data.
_mapping | The mapping between reference and actual cell. |
_quadrature | The quadrature rule. |
_fe | The finite element. |
flags | The update flags. |
Definition at line 111 of file fe_values.cc.
|
inline |
Return the relative volume change of the cell (Jacobian determinant).
If dim==spacedim then the sign may be negative, otherwise the result is a positive number.
point_no | Number of the quadrature point. |
Definition at line 281 of file fe_values.hh.
|
inline |
Returns the finite element in use.
Definition at line 355 of file fe_values.hh.
|
inline |
Returns the mapping in use.
Definition at line 363 of file fe_values.hh.
|
inline |
Returns the quadrature in use.
Definition at line 347 of file fe_values.hh.
|
inlinevirtual |
Return the product of Jacobian determinant and the quadrature weight at given quadrature point.
point_no | Number of the quadrature point. |
Implements FEValuesSpaceBase< spacedim >.
Definition at line 292 of file fe_values.hh.
|
inlinevirtual |
Returns the number of shape functions.
Implements FEValuesSpaceBase< spacedim >.
Definition at line 338 of file fe_values.hh.
|
inline |
Returns the number of quadrature points.
Definition at line 330 of file fe_values.hh.
|
inlinevirtual |
Returns the normal vector to a side at given quadrature point.
point_no | Number of the quadrature point. |
Implements FEValuesSpaceBase< spacedim >.
Definition at line 322 of file fe_values.hh.
|
inline |
Return coordinates of the quadrature point in the actual cell system.
point_no | Number of the quadrature point. |
Definition at line 302 of file fe_values.hh.
|
inline |
Return coordinates of all quadrature points in the actual cell system.
Definition at line 311 of file fe_values.hh.
|
inlinevirtual |
Return the gradient of the function_no-th
shape function at the point_no-th
quadrature point.
function_no | Number of the shape function. |
point_no | Number of the quadrature point. |
Implements FEValuesSpaceBase< spacedim >.
Definition at line 239 of file fe_values.hh.
|
inline |
Return the gradient of the function_no-th
shape function at the point_no-th
quadrature point.
For vectorial finite elements.
function_no | Number of the shape function. |
point_no | Number of the quadrature point. |
Definition at line 268 of file fe_values.hh.
|
inlinevirtual |
Return the value of the function_no-th
shape function at the point_no-th
quadrature point.
function_no | Number of the shape function. |
point_no | Number of the quadrature point. |
Implements FEValuesSpaceBase< spacedim >.
Definition at line 226 of file fe_values.hh.
|
inline |
Return the value of the function_no-th
shape function at the point_no-th
quadrature point.
For vectorial finite elements.
function_no | Number of the shape function. |
point_no | Number of the quadrature point. |
Definition at line 254 of file fe_values.hh.
UpdateFlags FEValuesBase< dim, spacedim >::update_each | ( | UpdateFlags | flags | ) |
Determine quantities to be recomputed on each cell.
flags | Flags that indicate what has to be recomputed. |
Definition at line 128 of file fe_values.cc.
|
protected |
Data computed by the mapping and finite element.
Definition at line 398 of file fe_values.hh.
|
protected |
The used finite element.
Definition at line 383 of file fe_values.hh.
|
protected |
Precomputed finite element data.
Definition at line 393 of file fe_values.hh.
|
protected |
The mapping from the reference cell to the actual cell.
Definition at line 373 of file fe_values.hh.
|
protected |
Precomputed mapping data.
Definition at line 388 of file fe_values.hh.
|
protected |
The quadrature rule used to calculate integrals.
Definition at line 378 of file fe_values.hh.