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

Public Member Functions | Protected Member Functions | Private Attributes
hp1D::LineShapeFunctions Class Reference

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

#include <thinSheetElm.hh>

Inheritance diagram for hp1D::LineShapeFunctions:
Inheritance graph
[legend]
Collaboration diagram for hp1D::LineShapeFunctions:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LineShapeFunctions (const ushort p, const concepts::QuadratureRule *intX)
 Constructor.
const ushort p () const
 Returns the polynomial degree.
const concepts::Karniadakis< 1, 0 > * shpfct () const
 Returns the shape functions.
const concepts::Karniadakis< 1, 1 > * shpfctD () const
 Returns the derivatives of the shape functions.
virtual ~LineShapeFunctions ()

Protected Member Functions

void computeShapefunctions_ (const concepts::QuadratureRule *intX)
 gets the shapefunctions

Private Attributes

ushort p_
 Polynomial degree.
std::auto_ptr
< concepts::Karniadakis< 1, 0 > > 
shpfct_
 The shape functions.
std::auto_ptr
< concepts::Karniadakis< 1, 1 > > 
shpfctD_
 The derivatives of the shape functions.

Detailed Description

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

hp).

Author:
Kersten Schmidt, 2006

Definition at line 24 of file thinSheetElm.hh.


Constructor & Destructor Documentation

hp1D::LineShapeFunctions::LineShapeFunctions ( const ushort  p,
const concepts::QuadratureRule intX 
)

Constructor.

Parameters:
pPolynomial degree of this element
intXIntegration rule in x direction
intYIntegration rule in y direction
virtual hp1D::LineShapeFunctions::~LineShapeFunctions ( ) [virtual]

Member Function Documentation

void hp1D::LineShapeFunctions::computeShapefunctions_ ( const concepts::QuadratureRule intX) [protected]

gets the shapefunctions

const ushort hp1D::LineShapeFunctions::p ( ) const [inline]

Returns the polynomial degree.

The returned array has 2 elements.

Definition at line 36 of file thinSheetElm.hh.

const concepts::Karniadakis<1,0>* hp1D::LineShapeFunctions::shpfct ( ) const [inline]

Returns the shape functions.

Definition at line 39 of file thinSheetElm.hh.

const concepts::Karniadakis<1,1>* hp1D::LineShapeFunctions::shpfctD ( ) const [inline]

Returns the derivatives of the shape functions.

Definition at line 43 of file thinSheetElm.hh.


Member Data Documentation

ushort hp1D::LineShapeFunctions::p_ [private]

Polynomial degree.

Definition at line 50 of file thinSheetElm.hh.

The shape functions.

Definition at line 52 of file thinSheetElm.hh.

The derivatives of the shape functions.

Definition at line 54 of file thinSheetElm.hh.


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

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