Public Member Functions |
Protected Member Functions |
Private Attributes |
Static Private Attributes |
List of all members
hp2D::l2::Quad< F > Class Template Referenceabstract
A 2D FEM element: a quad. More...
#include <quad.hh>
Inheritance diagram for hp2D::l2::Quad< F >:
Public Member Functions | |
virtual const concepts::QuadNd & | cell () const |
virtual const concepts::ElementGraphics< F > * | graphics () const |
virtual const concepts::ElementGraphics< Real > * | graphics () const=0 |
Returns element graphics class. More... | |
const ushort * | p () const |
Returns the polynomial degree. More... | |
Quad (concepts::QuadNd &cell, const ushort *p, concepts::TColumn< F > *T0, concepts::TColumn< F > *T1) | |
Constructor. More... | |
void | recomputeShapefunctions () |
Recompute shape functions, e.g. More... | |
void | recomputeShapefunctions (const uint nq[2]) |
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 const concepts::Quad & | support () const |
virtual concepts::Real3d | vertex (uint i) const |
virtual | ~Quad () |
Protected Member Functions | |
void | computeShapefunctions_ (const concepts::QuadratureRule2d *intRule) |
gets the shapefunctions, used in both constructors More... | |
virtual std::ostream & | info (std::ostream &os) const |
Private Attributes | |
ushort | p_ [2] |
Polynomial degree. More... | |
std::unique_ptr< KarniadakisDeriv2 > | shpfctX_ |
The shape functions. More... | |
std::unique_ptr< KarniadakisDeriv2 > | shpfctY_ |
Static Private Attributes | |
static std::unique_ptr< concepts::ElementGraphics< F > > | graphics_ |
Appropiate element graphics object. More... | |
Detailed Description
template<class F = Real>
class hp2D::l2::Quad< F >
A 2D FEM element: a quad.
The reference shape functions are products of the polynomials of Karniadakis and Sherwin. The index of the shape functions rises first over the polynomials in local x-direction.
Constructor & Destructor Documentation
◆ Quad()
template<class F = Real>
hp2D::l2::Quad< F >::Quad | ( | concepts::QuadNd & | cell, |
const ushort * | p, | ||
concepts::TColumn< F > * | T0, | ||
concepts::TColumn< F > * | T1 | ||
) |
Constructor.
- Parameters
-
cell Cell on which the element is defined p Polynomial degree (might be anisotropic) take p = 1 for at most constant polynomials (shift according to deRham diagram) T0 Part of the T matrix T1 Part of the T matrix
◆ ~Quad()
template<class F = Real>
|
virtual |
Member Function Documentation
◆ cell()
|
inlinevirtualinherited |
◆ computeShapefunctions_()
|
protectedinherited |
gets the shapefunctions, used in both constructors
◆ graphics() [1/2]
template<class F = Real>
|
virtual |
◆ graphics() [2/2]
|
pure virtualinherited |
Returns element graphics class.
◆ info()
template<class F = Real>
|
protectedvirtual |
Reimplemented from hp2D::BaseQuad< Real >.
◆ p()
|
inlineinherited |
◆ recomputeShapefunctions() [1/2]
template<class F = Real>
void hp2D::l2::Quad< F >::recomputeShapefunctions | ( | ) |
Recompute shape functions, e.g.
for other abscissas redefined through setIntegrationRule
◆ recomputeShapefunctions() [2/2]
template<class F = Real>
void hp2D::l2::Quad< F >::recomputeShapefunctions | ( | const uint | nq[2] | ) |
◆ shpfctX()
|
inlineinherited |
◆ shpfctY()
|
inlineinherited |
◆ support()
|
inlinevirtualinherited |
◆ vertex()
|
inlinevirtualinherited |
Member Data Documentation
◆ graphics_
template<class F = Real>
|
staticprivate |
◆ p_
|
privateinherited |
◆ shpfctX_
|
privateinherited |
◆ shpfctY_
|
privateinherited |
The documentation for this class was generated from the following file:
- hp2D/quad.hh