hp1D::LegendreMixin< F > Class Template Referenceabstract
Legendre shape functions mixin. More...
#include <element.hh>
Public Types | |
typedef F | FieldT |
enum | intFormType { ZERO, ONE, TWO, THREE } |
Integration form, which determines terms coming from integration over reference element. More... | |
typedef F | type |
Public Member Functions | |
virtual const concepts::EdgeNd & | cell () const |
Returns the cell on which the element is built. More... | |
const concepts::Real3d | chi (const Real x) const |
Computes the element map. More... | |
Real3d | elemMap (const Real coord_local) const |
Real3d | elemMap (const Real2d &coord_local) const |
Real3d | elemMap (const Real3d &coord_local) const |
virtual const concepts::ElementGraphics< Real > * | graphics () const |
Returns element graphics class. More... | |
const concepts::QuadratureRule1d * | integration () const |
Returns the integration rule. More... | |
Real | jacobianDeterminant (const Real x) const |
Computes the determinant of the Jacobian. More... | |
LegendreMixin (const concepts::EdgeNd &cell, ushort p) | |
ushort | p () const |
virtual bool | quadraturePoint (uint i, intPoint &p, intFormType form=ZERO, bool localCoord=false) const |
Delivers a quadrature point. More... | |
void | recomputeShapefunctions () override |
Recompute shape functions, e.g. More... | |
const concepts::Legendre * | shpfct () const override |
Returns the shape functions. More... | |
virtual const concepts::Edge & | support () const |
virtual const TMatrixBase< F > & | T () const =0 |
Returns the T matrix of the element. More... | |
virtual concepts::Real3d | vertex (uint i) const |
Static Public Member Functions | |
static concepts::QuadRuleFactory & | rule () |
Access to the quadrature rule, which is valid for all elements of this type (hp1D::IntegrableElm). More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Protected Attributes | |
const concepts::EdgeNd & | cell_ |
The cell. More... | |
std::unique_ptr< concepts::QuadratureRule1d > | int_ |
The integration rule. More... | |
ushort | p_ |
T matrix of the element. More... | |
Static Protected Attributes | |
static std::unique_ptr< LineGraphics > | graphics_ |
static concepts::QuadRuleFactory | rule_ |
Private Attributes | |
std::unique_ptr< concepts::Legendre > | shpfct_ |
The shape functions. More... | |
Detailed Description
template<class F>
class hp1D::LegendreMixin< F >
Legendre shape functions mixin.
Definition at line 196 of file element.hh.
Member Typedef Documentation
◆ FieldT
|
inherited |
Definition at line 82 of file element.hh.
◆ type
|
inherited |
Definition at line 81 of file element.hh.
Member Enumeration Documentation
◆ intFormType
|
inherited |
Integration form, which determines terms coming from integration over reference element.
Enumerator | |
---|---|
ZERO | |
ONE | |
TWO | |
THREE |
Definition at line 29 of file integral.hh.
Constructor & Destructor Documentation
◆ LegendreMixin()
|
inline |
Definition at line 198 of file element.hh.
Member Function Documentation
◆ cell()
|
inlinevirtualinherited |
Returns the cell on which the element is built.
Implements concepts::ElementWithCell< F >.
Definition at line 99 of file element.hh.
◆ chi()
|
inlineinherited |
◆ elemMap() [1/3]
|
inlineinherited |
Definition at line 86 of file element.hh.
◆ elemMap() [2/3]
|
inlineinherited |
Definition at line 90 of file element.hh.
◆ elemMap() [3/3]
|
inlineinherited |
Definition at line 94 of file element.hh.
◆ graphics()
|
virtualinherited |
Returns element graphics class.
◆ info()
|
protectedvirtualinherited |
Reimplemented in hp2D::NeumannTraceElement< F >.
◆ integration()
|
inlineinherited |
Returns the integration rule.
Definition at line 51 of file element.hh.
◆ jacobianDeterminant()
|
inlineinherited |
Computes the determinant of the Jacobian.
Definition at line 45 of file element.hh.
◆ p()
|
inlineinherited |
Definition at line 103 of file element.hh.
◆ quadraturePoint()
|
virtualinherited |
Delivers a quadrature point.
Quadrature point consists of coordinates (for evaluation of formulas) and intermediate data, consisting of the weight and term coming from mapping.
Returns false
, if the number of quadrature points is overstepped.
- Parameters
-
i number of quadrature point intPoint data given back form Integration form localCoord If true, local coordinates are returned. Else physical coordinates.
Implements concepts::IntegrationCell.
◆ recomputeShapefunctions()
|
overridevirtual |
Recompute shape functions, e.g.
for other abscissas redefined through IntegrableElm::rule().set(...)
Implements hp1D::BaseElement< F >.
◆ rule()
|
inlinestaticinherited |
Access to the quadrature rule, which is valid for all elements of this type (hp1D::IntegrableElm).
Change of the quadrature rule is put into practice for newly created elements and for already created elements by precomputing the integration points and shape functions on them.
Definition at line 62 of file element.hh.
◆ shpfct()
|
inlineoverridevirtual |
Returns the shape functions.
Implements hp1D::BaseElement< F >.
Definition at line 208 of file element.hh.
◆ support()
|
inlinevirtualinherited |
Definition at line 91 of file element.hh.
◆ T()
|
pure virtualinherited |
Returns the T matrix of the element.
Implemented in hp3D::Element< F >, hp3D::Element< Real >, hp2D::Element< F >, hp2D::Element< Real >, and bem::Constant3d002< concepts::Real >.
◆ vertex()
|
inlinevirtualinherited |
Definition at line 95 of file element.hh.
Member Data Documentation
◆ cell_
|
protectedinherited |
The cell.
Definition at line 70 of file element.hh.
◆ graphics_
|
staticprotectedinherited |
Definition at line 126 of file element.hh.
◆ int_
|
protectedinherited |
The integration rule.
Definition at line 72 of file element.hh.
◆ p_
|
protectedinherited |
T matrix of the element.
Definition at line 124 of file element.hh.
◆ rule_
|
staticprotectedinherited |
Definition at line 74 of file element.hh.
◆ shpfct_
|
private |
The shape functions.
Definition at line 214 of file element.hh.
The documentation for this class was generated from the following file:
- hp1D/element.hh