hp2D::l2::QuadShapeFunctions Class Reference
A class for holding the shape functions of nodal elements on quadrilaterials for a particular polynomials degree (ie. More...
#include <quad.hh>
Inheritance diagram for hp2D::l2::QuadShapeFunctions:
Public Member Functions | |
const ushort * | p () const |
Returns the polynomial degree. More... | |
QuadShapeFunctions (const ushort *p, const concepts::QuadratureRule2d *intRule) | |
Constructor. More... | |
QuadShapeFunctions (const ushort p, const concepts::QuadratureRule2d *intRule) | |
Constructor. More... | |
const KarniadakisDeriv2 * | shpfctX () const |
Returns the shape functions in x direction. More... | |
const KarniadakisDeriv2 * | shpfctY () const |
Returns the shape functions in y direction. More... | |
virtual | ~QuadShapeFunctions () |
Protected Member Functions | |
void | computeShapefunctions_ (const concepts::QuadratureRule2d *intRule) |
gets the shapefunctions, used in both constructors More... | |
Private Attributes | |
ushort | p_ [2] |
Polynomial degree. More... | |
std::unique_ptr< KarniadakisDeriv2 > | shpfctX_ |
The shape functions. More... | |
std::unique_ptr< KarniadakisDeriv2 > | shpfctY_ |
Detailed Description
A class for holding the shape functions of nodal elements on quadrilaterials for a particular polynomials degree (ie.
hp).
Constructor & Destructor Documentation
◆ QuadShapeFunctions() [1/2]
hp2D::l2::QuadShapeFunctions::QuadShapeFunctions | ( | const ushort | p, |
const concepts::QuadratureRule2d * | intRule | ||
) |
Constructor.
- Parameters
-
p Polynomial degree of this element intRule Integration rule
◆ QuadShapeFunctions() [2/2]
hp2D::l2::QuadShapeFunctions::QuadShapeFunctions | ( | const ushort * | p, |
const concepts::QuadratureRule2d * | intRule | ||
) |
Constructor.
This constructor can initialize an anisotropic polynomial degree.
- Parameters
-
p Polynomial degree in the two spatial directions intRule Integration rule
◆ ~QuadShapeFunctions()
|
virtual |
Member Function Documentation
◆ computeShapefunctions_()
|
protected |
gets the shapefunctions, used in both constructors
◆ p()
|
inline |
◆ shpfctX()
|
inline |
◆ shpfctY()
|
inline |
Member Data Documentation
◆ p_
|
private |
◆ shpfctX_
|
private |
◆ shpfctY_
|
private |
The documentation for this class was generated from the following file:
- hp2D/quad.hh