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).

Author
Kersten Schmidt, 2004

Definition at line 213 of file quad.hh.

Constructor & Destructor Documentation

◆ QuadShapeFunctions() [1/2]

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

Constructor.

Parameters
pPolynomial degree of this element
intRuleIntegration rule

◆ QuadShapeFunctions() [2/2]

hp2D::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::QuadShapeFunctions::~QuadShapeFunctions ( )
virtual

Member Function Documentation

◆ computeShapefunctions_()

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

gets the shapefunctions, used in both constructors

gets the shapefunctions, used in both constructors

◆ p()

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

Returns the polynomial degree.

The returned array has 2 elements.

Definition at line 230 of file quad.hh.

◆ shpfctDX()

const concepts::Karniadakis<1,1>* hp2D::QuadShapeFunctions::shpfctDX ( ) const
inline

Returns the derivatives of the shape functions in x direction.

Definition at line 241 of file quad.hh.

◆ shpfctDY()

const concepts::Karniadakis<1,1>* hp2D::QuadShapeFunctions::shpfctDY ( ) const
inline

Returns the shape functions in y direction.

Definition at line 244 of file quad.hh.

◆ shpfctX()

const concepts::Karniadakis<1,0>* hp2D::QuadShapeFunctions::shpfctX ( ) const
inline

Returns the shape functions in x direction.

Definition at line 233 of file quad.hh.

◆ shpfctY()

const concepts::Karniadakis<1,0>* hp2D::QuadShapeFunctions::shpfctY ( ) const
inline

Returns the shape functions in y direction.

Definition at line 237 of file quad.hh.

Member Data Documentation

◆ p_

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

Polynomial degree.

Definition at line 256 of file quad.hh.

◆ shpfctDX_

std::unique_ptr<concepts::Karniadakis<1,1> > hp2D::QuadShapeFunctions::shpfctDX_
private

The derivatives of the shape functions.

Definition at line 260 of file quad.hh.

◆ shpfctDY_

std::unique_ptr<concepts::Karniadakis<1,1> > hp2D::QuadShapeFunctions::shpfctDY_
private

Definition at line 260 of file quad.hh.

◆ shpfctX_

std::unique_ptr<concepts::Karniadakis<1,0> > hp2D::QuadShapeFunctions::shpfctX_
private

The shape functions.

Definition at line 258 of file quad.hh.

◆ shpfctY_

std::unique_ptr<concepts::Karniadakis<1,0> > hp2D::QuadShapeFunctions::shpfctY_
private

Definition at line 258 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