concepts::Legendre Class Reference
Class representing Legendre polynomials evaluated on quadrature points. More...
#include <legendre.hh>
Public Member Functions | |
Legendre (const int P, const Array< Real > &abscissas) | |
Constructor. More... | |
Legendre (const int P, const QuadratureRule1d &quadrature) | |
Constructor. More... | |
Legendre (const int P, const Real &xP) | |
Constructor. More... | |
Legendre (const int P, const Real *xP, const int NxP) | |
Constructor. More... | |
Legendre (const Legendre &Other) | |
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... | |
~Legendre () | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
void | init (const int P, const Real *xPoints, const int NxP) |
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
Class representing Legendre polynomials evaluated on quadrature points.
Abcissas will be given on .
Definition at line 24 of file legendre.hh.
Constructor & Destructor Documentation
◆ Legendre() [1/5]
concepts::Legendre::Legendre | ( | const int | P, |
const QuadratureRule1d & | quadrature | ||
) |
Constructor.
- Parameters
-
P polynomial degree quadrature quadrature rule with abscissas in [-1,1]
◆ Legendre() [2/5]
Constructor.
- Parameters
-
P polynomial degree abscissas abscissas in [-1,1]
◆ Legendre() [3/5]
concepts::Legendre::Legendre | ( | const int | P, |
const Real * | xP, | ||
const int | NxP | ||
) |
Constructor.
- Parameters
-
P polynomial degree xP pointer to value array in [-1,1] for evaluation NxP number of evaluations per shape function
◆ Legendre() [4/5]
concepts::Legendre::Legendre | ( | const int | P, |
const Real & | xP | ||
) |
Constructor.
- Parameters
-
P polynomial degree xP value in [-1,1] for evaluation
◆ Legendre() [5/5]
concepts::Legendre::Legendre | ( | const Legendre & | Other | ) |
◆ ~Legendre()
concepts::Legendre::~Legendre | ( | ) |
Member Function Documentation
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Implements concepts::ShapeFunction1D< Real >.
◆ init()
|
protected |
◆ 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/legendre.hh