concepts::ShapeFunction1D< F > Class Template Referenceabstract
Abstract class for 1D shape function. More...
#include <shapefunction.hh>
Public Member Functions | |
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... | |
ShapeFunction1D (const uint n, const uint nP) | |
Constructor. More... | |
const F * | values () const |
Returns the values of the shape functions. More... | |
virtual | ~ShapeFunction1D () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const =0 |
Returns information in an output stream. More... | |
Protected Attributes | |
F * | 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<class F>
class concepts::ShapeFunction1D< F >
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.
Constructor & Destructor Documentation
◆ ShapeFunction1D()
|
inline |
Constructor.
- Parameters
-
n Number of shape functions nP Number of points in which the shape functions are evaluated
Definition at line 31 of file shapefunction.hh.
◆ ~ShapeFunction1D()
|
inlinevirtual |
Definition at line 33 of file shapefunction.hh.
Member Function Documentation
◆ info()
|
protectedpure virtual |
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.
◆ n()
|
inline |
Returns the number of shape functions.
Definition at line 35 of file shapefunction.hh.
◆ nP()
|
inline |
Returns the number of abscissas (in which the shape functions are evaluated)
Definition at line 38 of file shapefunction.hh.
◆ values()
|
inline |
Returns the values of the shape functions.
Definition at line 40 of file shapefunction.hh.
Member Data Documentation
◆ n_
|
private |
Number of shape functions.
Definition at line 48 of file shapefunction.hh.
◆ nP_
|
private |
Number of points in which the shape functions are evaluated.
Definition at line 51 of file shapefunction.hh.
◆ values_
|
protected |
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/shapefunction.hh