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

Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
hp2Dedge::KarniadakisDeriv2 Class Reference

Part of the multidimensional expansion bases for the shape functions of Karniadakis and Sherwin. More...

#include <quad.hh>

Inheritance diagram for hp2Dedge::KarniadakisDeriv2:
Inheritance graph
[legend]
Collaboration diagram for hp2Dedge::KarniadakisDeriv2:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 KarniadakisDeriv2 (const int P, const Real *xP, const int NxP, const bool cache=true)
 Constructor.
 KarniadakisDeriv2 (const KarniadakisDeriv2 &arg)
 Copy constructor.
uint n () const
 Returns the number of shape functions.
uint nP () const
 Returns the number of abscissas (in which the shape functions are evaluated)
const Real * values () const
 Returns the values of the shape functions.
 ~KarniadakisDeriv2 ()

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Protected Attributes

Real * values_
 Values of the shape functions.

Private Attributes

concepts::Karniadakis< 1, 1 > * tmp_
 temporal storage of all derivates of $\psi^a_i(x)$

Detailed Description

Part of the multidimensional expansion bases for the shape functions of Karniadakis and Sherwin.

Computes the derivate of $\psi^a_i(x)$. In difference to Karniadakis<1,1> the first function is left out, so that the shape functions are linear independent. The first functions are: $\psi_0 = \frac{1}{2}$, $psi_1 = -x\frac{1}{2}$, $psi_1 = (-3x^2+1)frac{1}{2}$, $psi_2 = \frac{3}{4}x(5x^2-3)$/

Definition at line 29 of file quad.hh.


Constructor & Destructor Documentation

hp2Dedge::KarniadakisDeriv2::KarniadakisDeriv2 ( const int  P,
const Real *  xP,
const int  NxP,
const bool  cache = true 
)

Constructor.

Computes the values of the shape functions of the given order and in the given points.

Parameters:
POrder of the principal function
xPPoints
NxPNumber of points
hp2Dedge::KarniadakisDeriv2::KarniadakisDeriv2 ( const KarniadakisDeriv2 arg)

Copy constructor.

hp2Dedge::KarniadakisDeriv2::~KarniadakisDeriv2 ( )

Member Function Documentation

virtual std::ostream& hp2Dedge::KarniadakisDeriv2::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Implements concepts::ShapeFunction1D< Real >.

uint concepts::ShapeFunction1D< Real >::n ( ) const [inline, inherited]

Returns the number of shape functions.

Definition at line 33 of file shapefunction.hh.

uint concepts::ShapeFunction1D< Real >::nP ( ) const [inline, inherited]

Returns the number of abscissas (in which the shape functions are evaluated)

Definition at line 36 of file shapefunction.hh.

const Real * concepts::ShapeFunction1D< Real >::values ( ) const [inline, inherited]

Returns the values of the shape functions.

Definition at line 38 of file shapefunction.hh.


Member Data Documentation

temporal storage of all derivates of $\psi^a_i(x)$

Definition at line 49 of file quad.hh.

Real * concepts::ShapeFunction1D< Real >::values_ [protected, inherited]

Values of the shape functions.

Definition at line 43 of file shapefunction.hh.


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

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