Public Member Functions |
Protected Member Functions |
Private Attributes |
Static Private Attributes |
List of all members
hp2D::Quad< F > Class Template Reference
A 2D FEM element: a quad. More...
#include <bf_advection.hh>
Public Member Functions | |
const uint | edgeP (const uint i) const |
void | edgeP (const uint i, const uint &p) |
Set polynomial degree of edge i to p . More... | |
virtual const concepts::ElementGraphics< F > * | graphics () const |
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]) |
virtual | ~Quad () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Private Attributes | |
const uint * | edges_ [4] |
Polynomial degree of edges. More... | |
Static Private Attributes | |
static std::unique_ptr< concepts::ElementGraphics< F > > | graphics_ |
Appropiate element graphics object. More... | |
Detailed Description
template<class F = Real>
class hp2D::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.
Definition at line 44 of file bf_advection.hh.
Constructor & Destructor Documentation
◆ Quad()
template<class F = Real>
hp2D::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) T0 Part of the T matrix T1 Part of the T matrix
◆ ~Quad()
template<class F = Real>
|
virtual |
Member Function Documentation
◆ edgeP() [1/2]
template<class F = Real>
|
inline |
◆ edgeP() [2/2]
template<class F = Real>
|
inline |
◆ graphics()
template<class F = Real>
|
virtual |
◆ info()
template<class F = Real>
|
protectedvirtual |
◆ recomputeShapefunctions() [1/2]
template<class F = Real>
void hp2D::Quad< F >::recomputeShapefunctions | ( | ) |
Recompute shape functions, e.g.
for other abscissas redefined through setIntegrationRule
◆ recomputeShapefunctions() [2/2]
template<class F = Real>
void hp2D::Quad< F >::recomputeShapefunctions | ( | const uint | nq[2] | ) |
Member Data Documentation
◆ edges_
template<class F = Real>
|
private |
◆ graphics_
template<class F = Real>
|
staticprivate |
The documentation for this class was generated from the following files:
- hp2D/bf_advection.hh
- hp2D/quad.hh