My Project
|
Represents a cardinal function on a line. More...
#include <shapefunctions.hpp>
Public Member Functions | |
LagrangeCardinalFunction () | |
Empty default constructor. | |
LagrangeCardinalFunction (const std::vector< rtype > &nodes_, size_t i) | |
Construct a cardinal function with the given nodes. | |
rtype | evaluateFunction (const ctype &local) const |
Evaluate the shape function. | |
rtype | evaluateGradient (const ctype &local) const |
Evaluate the derivative of the cardinal function. | |
Represents a cardinal function on a line.
|
inline |
Construct a cardinal function with the given nodes.
[in] | nodes_ | The nodes |
[in] | i | The node this function is associated with |
|
inline |
Evaluate the shape function.
[in] | local | The local coordinates |
|
inline |
Evaluate the derivative of the cardinal function.
[in] | local | The local coordinates |