Flow123d
release_2.2.0-22-g936454a
|
Discontinuous Lagrangean finite element on dim
dimensional simplex.
More...
#include <fe_p.hh>
Public Member Functions | |
FE_P_disc () | |
Constructor. More... | |
double | basis_value (const unsigned int i, const arma::vec::fixed< dim > &p) const |
Returns the ith basis function evaluated at the point p . More... | |
arma::vec::fixed< dim > | basis_grad (const unsigned int i, const arma::vec::fixed< dim > &p) const |
Returns the gradient of the ith basis function at the point p . More... | |
arma::vec::fixed< dim > | basis_vector (const unsigned int i, const arma::vec::fixed< dim > &p) const |
The vector variant of basis_value must be implemented but may not be used. More... | |
arma::mat::fixed< dim, dim > | basis_grad_vector (const unsigned int i, const arma::vec::fixed< dim > &p) const |
The vector variant of basis_grad must be implemented but may not be used. More... | |
virtual | ~FE_P_disc () |
Destructor. More... | |
![]() | |
FiniteElement () | |
Constructor. More... | |
void | init () |
Clears all internal structures. More... | |
const unsigned int | n_dofs () const |
Returns the number of degrees of freedom needed by the finite element. More... | |
const unsigned int | n_object_dofs (unsigned int object_dim, DofMultiplicity multiplicity) |
Returns the number of single dofs/dof pairs/triples/sextuples that lie on a single geometric entity of the dimension object_dim . More... | |
virtual void | compute_node_matrix () |
Initializes the node_matrix for computing the coefficients of the raw basis functions from values at support points. More... | |
virtual FEInternalData * | initialize (const Quadrature< dim > &q, UpdateFlags flags) |
Calculates the data on the reference cell. More... | |
virtual UpdateFlags | update_each (UpdateFlags flags) |
Decides which additional quantities have to be computed for each cell. More... | |
virtual void | fill_fe_values (const Quadrature< dim > &q, FEInternalData &data, FEValuesData< dim, spacedim > &fv_data) |
Computes the shape function values and gradients on the actual cell and fills the FEValues structure. More... | |
virtual const unsigned int | polynomial_order () const |
Returns the maximum degree of space of polynomials contained in the finite element space. More... | |
const bool | is_scalar () const |
Indicates whether the finite element function space is scalar or vectorial. More... | |
const std::vector< arma::vec::fixed< dim > > & | get_generalized_support_points () |
Returns either the generalized support points (if they are defined) or the unit support points. More... | |
virtual | ~FiniteElement () |
Destructor. More... | |
Private Attributes | |
PolynomialSpace< degree, dim > | poly_space |
The auxiliary polynomial space. More... | |
DofDistribution< degree, dim > | dof_distribution |
The auxiliary dof distribution. More... | |
Additional Inherited Members | |
![]() | |
unsigned int | number_of_dofs |
Total number of degrees of freedom at one finite element. More... | |
unsigned int | number_of_single_dofs [dim+1] |
Number of single dofs at one geometrical entity of the given dimension (point, line, triangle, tetrahedron). More... | |
unsigned int | number_of_pairs [dim+1] |
Number of pairs of dofs at one geometrical entity of the given dimension (applicable to lines and triangles). More... | |
unsigned int | number_of_triples [dim+1] |
Number of triples of dofs associated to one triangle. More... | |
unsigned int | number_of_sextuples [dim+1] |
Number of sextuples of dofs associated to one triangle. More... | |
unsigned int | order |
Polynomial order - to be possibly used in hp methods. More... | |
bool | is_scalar_fe |
Indicator of scalar versus vectorial finite element. More... | |
arma::mat | node_matrix |
Matrix that determines the coefficients of the raw basis functions from the values at the support points. More... | |
std::vector< arma::vec::fixed< dim > > | unit_support_points |
Support points for Lagrangean finite elements. More... | |
std::vector< arma::vec::fixed< dim > > | generalized_support_points |
Support points for non-Lagrangean finite elements. More... | |
Discontinuous Lagrangean finite element on dim
dimensional simplex.
No continuity of the finite element functions across the interfaces is imposed.
|
virtual |
Returns the gradient of the ith
basis function at the point p
.
i | Number of the basis function. |
p | Point of evaluation. |
Implements FiniteElement< dim, spacedim >.
|
virtual |
The vector variant of basis_grad must be implemented but may not be used.
Implements FiniteElement< dim, spacedim >.
|
virtual |
Returns the ith
basis function evaluated at the point p
.
i | Number of the basis function. |
p | Point of evaluation. |
Implements FiniteElement< dim, spacedim >.
|
virtual |
The vector variant of basis_value must be implemented but may not be used.
Implements FiniteElement< dim, spacedim >.
|
private |
|
private |