hp2D::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>
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 concepts::Karniadakis< 1, 1 > * | shpfctDX () const |
Returns the derivatives of the shape functions in x direction. More... | |
const concepts::Karniadakis< 1, 1 > * | shpfctDY () const |
Returns the shape functions in y direction. More... | |
const concepts::Karniadakis< 1, 0 > * | shpfctX () const |
Returns the shape functions in x direction. More... | |
const concepts::Karniadakis< 1, 0 > * | 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< concepts::Karniadakis< 1, 1 > > | shpfctDX_ |
The derivatives of the shape functions. More... | |
std::unique_ptr< concepts::Karniadakis< 1, 1 > > | shpfctDY_ |
std::unique_ptr< concepts::Karniadakis< 1, 0 > > | shpfctX_ |
The shape functions. More... | |
std::unique_ptr< concepts::Karniadakis< 1, 0 > > | 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::QuadShapeFunctions::QuadShapeFunctions | ( | const ushort | p, |
const concepts::QuadratureRule2d * | intRule | ||
) |
Constructor.
- Parameters
-
p Polynomial degree of this element intRule Integration rule
◆ QuadShapeFunctions() [2/2]
hp2D::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
gets the shapefunctions, used in both constructors
◆ p()
|
inline |
◆ shpfctDX()
|
inline |
◆ shpfctDY()
|
inline |
◆ shpfctX()
|
inline |
◆ shpfctY()
|
inline |
Member Data Documentation
◆ p_
|
private |
◆ shpfctDX_
|
private |
◆ shpfctDY_
|
private |
◆ shpfctX_
|
private |
◆ shpfctY_
|
private |
The documentation for this class was generated from the following file:
- hp2D/quad.hh