hp2D::KarniadakisDeriv2 Class Reference
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. More... | |
uint | n () const |
Returns the number of shape functions. More... | |
uint | nP () const |
Returns the number of abscissas (in which the shape functions are evaluated) More... | |
const Real * | values () const |
Returns the values of the shape functions. More... | |
~KarniadakisDeriv2 () | |
Copy constructor. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Protected Attributes | |
Real * | values_ |
Values of the shape functions. More... | |
Private Attributes | |
uint | n_ |
Number of shape functions. More... | |
uint | nP_ |
Number of points in which the shape functions are evaluated. More... | |
concepts::Karniadakis< 1, 1 > * | tmp_ |
temporal storage of all derivates of More... | |
Detailed Description
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 linearly independent.
The first functions are: , , , /
Constructor & Destructor Documentation
◆ KarniadakisDeriv2()
hp2D::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
-
P Order of the principal function xP Points NxP Number of points
◆ ~KarniadakisDeriv2()
hp2D::KarniadakisDeriv2::~KarniadakisDeriv2 | ( | ) |
Copy constructor.
Member Function Documentation
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Implements concepts::ShapeFunction1D< Real >.
◆ n()
|
inlineinherited |
Returns the number of shape functions.
Definition at line 35 of file shapefunction.hh.
◆ nP()
|
inlineinherited |
Returns the number of abscissas (in which the shape functions are evaluated)
Definition at line 38 of file shapefunction.hh.
◆ values()
|
inlineinherited |
Returns the values of the shape functions.
Definition at line 40 of file shapefunction.hh.
Member Data Documentation
◆ n_
|
privateinherited |
Number of shape functions.
Definition at line 48 of file shapefunction.hh.
◆ nP_
|
privateinherited |
Number of points in which the shape functions are evaluated.
Definition at line 51 of file shapefunction.hh.
◆ tmp_
|
private |
◆ values_
|
protectedinherited |
Values of the shape functions.
Definition at line 45 of file shapefunction.hh.
The documentation for this class was generated from the following file:
- hp2D/quad.hh