concepts::KarniadakisNew< type, mode > Class Template Referenceabstract
#include <karniadakisnew.hh>
Public Member Functions | |
KarniadakisNew (const int P, const Array< Real > &abscissas, const int Q=0, const int R=0) | |
Constructor. More... | |
KarniadakisNew (const int P, const QuadratureRule1d &quadrature, const int Q=0, const int R=0) | |
Constructor. More... | |
KarniadakisNew (const KarniadakisNew< type, mode > &Other) | |
Copy 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... | |
~KarniadakisNew () | |
Destructor. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const=0 |
Returns information in an output stream. More... | |
void | init (const int P, const Real *xPoints, const int NxP, const int Q, const int R) |
Computes the values of the principal function of the given order and in the given points. 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... | |
Detailed Description
template<int type, int mode>
class concepts::KarniadakisNew< type, mode >
Definition at line 22 of file karniadakisnew.hh.
Constructor & Destructor Documentation
◆ KarniadakisNew() [1/3]
concepts::KarniadakisNew< type, mode >::KarniadakisNew | ( | const int | P, |
const QuadratureRule1d & | quadrature, | ||
const int | Q = 0 , |
||
const int | R = 0 |
||
) |
Constructor.
Computes the values of the principal function of the given order and in the given points.
- Parameters
-
P Order of the principal function in quadrature Quadrature Q Order of the principal function in R Order of the principal function in cache Controls if the computed values should be taken from and stored in the cache
◆ KarniadakisNew() [2/3]
concepts::KarniadakisNew< type, mode >::KarniadakisNew | ( | const int | P, |
const Array< Real > & | abscissas, | ||
const int | Q = 0 , |
||
const int | R = 0 |
||
) |
Constructor.
Computes the values of the principal function of the given order and in the given points.
- Parameters
-
P Order of the principal function in abscissas array of points Q Order of the principal function in R Order of the principal function in cache Controls if the computed values should be taken from and stored in the cache
◆ KarniadakisNew() [3/3]
concepts::KarniadakisNew< type, mode >::KarniadakisNew | ( | const KarniadakisNew< type, mode > & | Other | ) |
Copy constructor.
- Parameters
-
Other Element to be copied
◆ ~KarniadakisNew()
concepts::KarniadakisNew< type, mode >::~KarniadakisNew | ( | ) |
Destructor.
Member Function Documentation
◆ info()
|
protectedpure virtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Implemented in concepts::Rys, concepts::Legendre, concepts::LaguerreBasis< mode >, concepts::Laguerre, concepts::Karniadakis< type, mode >, concepts::Karniadakis< 1, 1 >, hp2D::KarniadakisDeriv2, hp2D::NeumannTraceElement< F >::NTShapeFunction, and hp2D::NTElement_BA< F >::ShapeFunction.
◆ init()
|
protected |
Computes the values of the principal function of the given order and in the given points.
(P+1)*(Q+1)*(R+1) is the number of shape functions which have to be computed in
NxP
points.
- Parameters
-
P Order of the principal function in xPoints Points NxP Number of points Q Order of the principal function in R Order of the principal function in
◆ 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.
◆ 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:
- integration/karniadakisnew.hh