Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Private Attributes
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>

Inheritance diagram for hp2D::QuadShapeFunctions:
Inheritance graph
[legend]
Collaboration diagram for hp2D::QuadShapeFunctions:
Collaboration graph
[legend]

List of all members.

Public Member Functions

const ushort * p () const
 Returns the polynomial degree.
 QuadShapeFunctions (const ushort p, const concepts::QuadratureRule *intX, const concepts::QuadratureRule *intY)
 Constructor.
 QuadShapeFunctions (const ushort *p, const concepts::QuadratureRule *intX, const concepts::QuadratureRule *intY)
 Constructor.
const concepts::Karniadakis< 1, 1 > * shpfctDX () const
 Returns the derivatives of the shape functions in x direction.
const concepts::Karniadakis< 1, 1 > * shpfctDY () const
 Returns the shape functions in y direction.
const concepts::Karniadakis< 1, 0 > * shpfctX () const
 Returns the shape functions in x direction.
const concepts::Karniadakis< 1, 0 > * shpfctY () const
 Returns the shape functions in y direction.
virtual ~QuadShapeFunctions ()

Protected Member Functions

void computeShapefunctions_ (const concepts::QuadratureRule *intX, const concepts::QuadratureRule *intY)
 gets the shapefunctions, used in both constructors

Private Attributes

ushort p_ [2]
 Polynomial degree.
std::auto_ptr
< concepts::Karniadakis< 1, 1 > > 
shpfctDX_
 The derivatives of the shape functions.
std::auto_ptr
< concepts::Karniadakis< 1, 1 > > 
shpfctDY_
std::auto_ptr
< concepts::Karniadakis< 1, 0 > > 
shpfctX_
 The shape functions.
std::auto_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 151 of file quad.hh.


Constructor & Destructor Documentation

hp2D::QuadShapeFunctions::QuadShapeFunctions ( const ushort  p,
const concepts::QuadratureRule intX,
const concepts::QuadratureRule intY 
)

Constructor.

Parameters:
pPolynomial degree of this element
intXIntegration rule in x direction
intYIntegration rule in y direction
hp2D::QuadShapeFunctions::QuadShapeFunctions ( const ushort *  p,
const concepts::QuadratureRule intX,
const concepts::QuadratureRule intY 
)

Constructor.

This constructor can initialize an anisotropic polynomial degree.

Parameters:
pPolynomial degree in the two spatial directions
intXIntegration rule in x direction
intYIntegration rule in y direction
virtual hp2D::QuadShapeFunctions::~QuadShapeFunctions ( ) [virtual]

Member Function Documentation

void hp2D::QuadShapeFunctions::computeShapefunctions_ ( const concepts::QuadratureRule intX,
const concepts::QuadratureRule intY 
) [protected]

gets the shapefunctions, used in both constructors

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

Returns the polynomial degree.

The returned array has 2 elements.

Definition at line 172 of file quad.hh.

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

Returns the derivatives of the shape functions in x direction.

Definition at line 183 of file quad.hh.

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

Returns the shape functions in y direction.

Definition at line 186 of file quad.hh.

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

Returns the shape functions in x direction.

Definition at line 175 of file quad.hh.

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

Returns the shape functions in y direction.

Definition at line 179 of file quad.hh.


Member Data Documentation

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

Polynomial degree.

Definition at line 194 of file quad.hh.

The derivatives of the shape functions.

Definition at line 198 of file quad.hh.

Definition at line 198 of file quad.hh.

The shape functions.

Definition at line 196 of file quad.hh.

Definition at line 196 of file quad.hh.


The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)