#include <shapefunction.hh>
Public Member Functions | |
ShapeFunction1D (const uint n, const uint nP) | |
uint | n () const |
Returns the number of shape functions. | |
uint | nP () const |
const F * | values () const |
Returns the values of the shape functions. | |
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. | |
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 24 of file shapefunction.hh.
|
inline |
Constructor
n | Number of shape functions |
nP | Number of points in which the shape functions are evaluated |
Definition at line 31 of file shapefunction.hh.
|
inlinevirtual |
Definition at line 33 of file shapefunction.hh.
|
protectedpure virtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Implemented in hp2D::NTElement_BA< F >::ShapeFunction, hp2D::NeumannTraceElement< F >::NTShapeFunction, hp2D::KarniadakisDeriv2, concepts::Karniadakis< type, mode >, concepts::Karniadakis< 1, 1 >, concepts::Laguerre, concepts::LaguerreBasis< mode >, concepts::Legendre, and concepts::Rys.
|
inline |
Returns the number of shape functions.
Definition at line 35 of file shapefunction.hh.
|
inline |
Returns the number of abscissas (in which the shape functions are evaluated)
Definition at line 38 of file shapefunction.hh.
|
inline |
Returns the values of the shape functions.
Definition at line 40 of file shapefunction.hh.
|
protected |
Values of the shape functions.
Definition at line 45 of file shapefunction.hh.