Flow123d
jenkins-Flow123d-windows32-release-multijob-51
|
Calculates finite element data on the actual cell. More...
#include <fe_values.hh>
Public Member Functions | |
FEValues (Mapping< dim, spacedim > &_mapping, Quadrature< dim > &_quadrature, FiniteElement< dim, spacedim > &_fe, UpdateFlags _flags) | |
Constructor. More... | |
void | reinit (ElementFullIter &cell) |
Update cell-dependent data (gradients, Jacobians etc.) More... | |
Public Member Functions inherited from FEValuesBase< dim, spacedim > | |
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... | |
const 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... | |
const 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... | |
const 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... | |
const 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... | |
const double | determinant (const unsigned int point_no) |
Return the relative volume change of the cell (Jacobian determinant). More... | |
const double | JxW (const unsigned int point_no) |
Return the product of Jacobian determinant and the quadrature weight at given quadrature point. More... | |
const arma::vec::fixed< spacedim > | point (const unsigned int point_no) |
Return coordinates of the quadrature point in the actual cell system. More... | |
const vector< arma::vec::fixed < spacedim > > & | point_list () |
Return coordinates of all quadrature points in the actual cell system. More... | |
const arma::vec::fixed< spacedim > | normal_vector (unsigned int point_no) |
Returns the normal vector to a side at given quadrature point. More... | |
const unsigned int | n_points () |
Returns the number of quadrature points. More... | |
const unsigned int | n_dofs () |
Returns the number of shape functions. More... | |
const Quadrature< dim > * | get_quadrature () const |
Returns the quadrature in use. More... | |
Additional Inherited Members | |
Protected Attributes inherited from FEValuesBase< dim, spacedim > | |
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... | |
Calculates finite element data on the actual cell.
FEValues takes care of the calculation of finite element data on the actual cell such as values of shape functions at quadrature points, gradients of shape functions, Jacobians of the mapping from the reference cell etc.
dim | Dimension of the reference cell. |
spacedim | Dimension of the Euclidean space where the actual cell lives. |
Definition at line 370 of file fe_values.hh.
FEValues< dim, spacedim >::FEValues | ( | Mapping< dim, spacedim > & | _mapping, |
Quadrature< dim > & | _quadrature, | ||
FiniteElement< dim, spacedim > & | _fe, | ||
UpdateFlags | _flags | ||
) |
Constructor.
Initializes structures and calculates cell-independent data.
_mapping | The mapping between the reference and actual cell. |
_quadrature | The quadrature rule. |
_fe | The finite element. |
_flags | The update flags. |
Definition at line 228 of file fe_values.cc.
|
inline |
Update cell-dependent data (gradients, Jacobians etc.)
cell | The actual cell. |
Definition at line 244 of file fe_values.cc.