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:
hp2D::l2::Quad< F >

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 KarniadakisDeriv2shpfctX () const
 Returns the shape functions in x direction. More...
 
const KarniadakisDeriv2shpfctY () 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< KarniadakisDeriv2shpfctX_
 The shape functions. More...
 
std::unique_ptr< KarniadakisDeriv2shpfctY_
 

Detailed Description

A class for holding the shape functions of nodal elements on quadrilaterials for a particular polynomials degree (ie.

hp).

Author
Kersten Schmidt, 2015

Definition at line 550 of file quad.hh.

Constructor & Destructor Documentation

◆ QuadShapeFunctions() [1/2]

hp2D::l2::QuadShapeFunctions::QuadShapeFunctions ( const ushort  p,
const concepts::QuadratureRule2d intRule 
)

Constructor.

Parameters
pPolynomial degree of this element
intRuleIntegration 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
pPolynomial degree in the two spatial directions
intRuleIntegration rule

◆ ~QuadShapeFunctions()

virtual hp2D::l2::QuadShapeFunctions::~QuadShapeFunctions ( )
virtual

Member Function Documentation

◆ computeShapefunctions_()

void hp2D::l2::QuadShapeFunctions::computeShapefunctions_ ( const concepts::QuadratureRule2d intRule)
protected

gets the shapefunctions, used in both constructors

◆ p()

const ushort* hp2D::l2::QuadShapeFunctions::p ( ) const
inline

Returns the polynomial degree.

The returned array has 2 elements.

Definition at line 567 of file quad.hh.

◆ shpfctX()

const KarniadakisDeriv2* hp2D::l2::QuadShapeFunctions::shpfctX ( ) const
inline

Returns the shape functions in x direction.

Definition at line 570 of file quad.hh.

◆ shpfctY()

const KarniadakisDeriv2* hp2D::l2::QuadShapeFunctions::shpfctY ( ) const
inline

Returns the shape functions in y direction.

Definition at line 574 of file quad.hh.

Member Data Documentation

◆ p_

ushort hp2D::l2::QuadShapeFunctions::p_[2]
private

Polynomial degree.

Definition at line 581 of file quad.hh.

◆ shpfctX_

std::unique_ptr<KarniadakisDeriv2 > hp2D::l2::QuadShapeFunctions::shpfctX_
private

The shape functions.

Definition at line 583 of file quad.hh.

◆ shpfctY_

std::unique_ptr<KarniadakisDeriv2 > hp2D::l2::QuadShapeFunctions::shpfctY_
private

Definition at line 583 of file quad.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich