Abstract class for 1D shape function. More...
#include <shapefunction.hh>


Public Member Functions | |
| uint | n () const |
| Returns the number of shape functions. | |
| uint | nP () const |
| Returns the number of abscissas (in which the shape functions are evaluated) | |
| ShapeFunction1D (const uint n, const uint nP) | |
| Constructor. | |
| const F * | values () const |
| Returns the values of the shape functions. | |
| ~ShapeFunction1D () | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const =0 |
| Returns information in an output stream. | |
Protected Attributes | |
| F * | values_ |
| Values of the shape functions. | |
Private Attributes | |
| uint | n_ |
| Number of shape functions. | |
| uint | nP_ |
| Number of points in which the shape functions are evaluated. | |
Abstract class for 1D shape function.
The user can query how many form functions in how many points are available. The class is abstract since a derived class must give sense to the values_ array (ie. allocate and fill the entries).
Definition at line 22 of file shapefunction.hh.
| concepts::ShapeFunction1D< F >::ShapeFunction1D | ( | const uint | n, |
| const uint | nP | ||
| ) | [inline] |
Constructor.
| n | Number of shape functions |
| nP | Number of points in which the shape functions are evaluated |
Definition at line 29 of file shapefunction.hh.
| concepts::ShapeFunction1D< F >::~ShapeFunction1D | ( | ) | [inline] |
Definition at line 31 of file shapefunction.hh.
| virtual std::ostream& concepts::ShapeFunction1D< F >::info | ( | std::ostream & | os | ) | const [protected, pure virtual] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Implemented in hp2D::NeumannTraceElement< F >::ShapeFunction, hp2Dedge::KarniadakisDeriv2, concepts::Karniadakis< type, mode >, concepts::Laguerre, concepts::LaguerreBasis< mode >, concepts::Karniadakis< 1, 1 >, and concepts::Karniadakis< 1, 0 >.
| uint concepts::ShapeFunction1D< F >::n | ( | ) | const [inline] |
Returns the number of shape functions.
Definition at line 33 of file shapefunction.hh.
| uint concepts::ShapeFunction1D< F >::nP | ( | ) | const [inline] |
Returns the number of abscissas (in which the shape functions are evaluated)
Definition at line 36 of file shapefunction.hh.
| const F* concepts::ShapeFunction1D< F >::values | ( | ) | const [inline] |
Returns the values of the shape functions.
Definition at line 38 of file shapefunction.hh.
uint concepts::ShapeFunction1D< F >::n_ [private] |
Number of shape functions.
Definition at line 46 of file shapefunction.hh.
uint concepts::ShapeFunction1D< F >::nP_ [private] |
Number of points in which the shape functions are evaluated.
Definition at line 49 of file shapefunction.hh.
F* concepts::ShapeFunction1D< F >::values_ [protected] |
Values of the shape functions.
Definition at line 43 of file shapefunction.hh.