#include <legendre.hh>
Public Member Functions | |
| Legendre (const int P, const QuadratureRule1d &quadrature) | |
| Legendre (const int P, const Array< Real > &abscissas) | |
| Legendre (const int P, const Real *xP, const int NxP) | |
| Legendre (const int P, const Real &xP) | |
| Legendre (const Legendre &Other) | |
| uint | n () const |
| Returns the number of shape functions. | |
| uint | nP () const |
| const Real * | values () const |
| Returns the values of the shape functions. | |
Protected Member Functions | |
| void | init (const int P, const Real *xPoints, const int NxP) |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Protected Attributes | |
| Real * | values_ |
| Values of the shape functions. | |
Class representing Legendre polynomials evaluated on quadrature points.
Abcissas will be given on ![$[-1,1]$](form_226.png)
Definition at line 24 of file legendre.hh.
| concepts::Legendre::Legendre | ( | const int | P, |
| const QuadratureRule1d & | quadrature | ||
| ) |
Constructor
| P | polynomial degree |
| quadrature | quadrature rule with abscissas in [-1,1] |
Constructor
| P | polynomial degree |
| abscissas | abscissas in [-1,1] |
Constructor
| P | polynomial degree |
| xP | pointer to value array in [-1,1] for evaluation |
| NxP | number of evaluations per shape function |
Constructor
| P | polynomial degree |
| xP | value in [-1,1] for evaluation |
|
protectedvirtual |
Returns information in an output stream.
Implements concepts::ShapeFunction1D< Real >.
|
inlineinherited |
Returns the number of shape functions.
Definition at line 35 of file shapefunction.hh.
|
inlineinherited |
Returns the number of abscissas (in which the shape functions are evaluated)
Definition at line 38 of file shapefunction.hh.
|
inlineinherited |
Returns the values of the shape functions.
Definition at line 40 of file shapefunction.hh.
|
protectedinherited |
Values of the shape functions.
Definition at line 45 of file shapefunction.hh.