Part of the multidimensional expansion bases for the shape functions of Karniadakis and Sherwin. More...
#include <quad.hh>


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 | |
Part of the multidimensional expansion bases for the shape functions of Karniadakis and Sherwin.
Computes the derivate of
. In difference to Karniadakis<1,1> the first function is left out, so that the shape functions are linear independent. The first functions are:
,
,
,
/
| 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.
| P | Order of the principal function |
| xP | Points |
| NxP | Number of points |
| hp2Dedge::KarniadakisDeriv2::KarniadakisDeriv2 | ( | const KarniadakisDeriv2 & | arg | ) |
Copy constructor.
| hp2Dedge::KarniadakisDeriv2::~KarniadakisDeriv2 | ( | ) |
| 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.
concepts::Karniadakis<1,1>* hp2Dedge::KarniadakisDeriv2::tmp_ [private] |
Real * concepts::ShapeFunction1D< Real >::values_ [protected, inherited] |
Values of the shape functions.
Definition at line 43 of file shapefunction.hh.