MBDyn-1.7.3
|
#include <ScalarFunctionsImpl.h>
Public Member Functions | |
CubicSplineScalarFunction (const std::vector< doublereal > &y_i, const std::vector< doublereal > &x_i, bool doNotExtrapolate=false) | |
virtual | ~CubicSplineScalarFunction (void) |
virtual doublereal | operator() (const doublereal x) const |
virtual doublereal | ComputeDiff (const doublereal t, const integer order=1) const |
Public Member Functions inherited from DifferentiableScalarFunction | |
virtual | ~DifferentiableScalarFunction () |
Public Member Functions inherited from BasicScalarFunction | |
virtual | ~BasicScalarFunction () |
Private Attributes | |
std::vector< doublereal > | Y_i |
std::vector< doublereal > | X_i |
std::vector< doublereal > | b |
std::vector< doublereal > | c |
std::vector< doublereal > | d |
bool | doNotExtrapolate |
Definition at line 120 of file ScalarFunctionsImpl.h.
CubicSplineScalarFunction::CubicSplineScalarFunction | ( | const std::vector< doublereal > & | y_i, |
const std::vector< doublereal > & | x_i, | ||
bool | doNotExtrapolate = false |
||
) |
Definition at line 458 of file ScalarFunctionsImpl.cc.
References ASSERTMSGBREAK, b, c, d, MBDYN_EXCEPT_ARGS, spline(), X_i, and Y_i.
|
virtual |
Definition at line 484 of file ScalarFunctionsImpl.cc.
References NO_OP.
|
virtual |
Implements DifferentiableScalarFunction.
Definition at line 507 of file ScalarFunctionsImpl.cc.
References ASSERTMSGBREAK, b, c, d, operator()(), seval(), X_i, and Y_i.
|
virtual |
Implements DifferentiableScalarFunction.
Definition at line 490 of file ScalarFunctionsImpl.cc.
References b, c, d, doNotExtrapolate, seval(), X_i, and Y_i.
Referenced by ComputeDiff().
|
private |
Definition at line 124 of file ScalarFunctionsImpl.h.
Referenced by ComputeDiff(), CubicSplineScalarFunction(), and operator()().
|
private |
Definition at line 124 of file ScalarFunctionsImpl.h.
Referenced by ComputeDiff(), CubicSplineScalarFunction(), and operator()().
|
private |
Definition at line 124 of file ScalarFunctionsImpl.h.
Referenced by ComputeDiff(), CubicSplineScalarFunction(), and operator()().
|
private |
Definition at line 125 of file ScalarFunctionsImpl.h.
Referenced by operator()().
|
private |
Definition at line 123 of file ScalarFunctionsImpl.h.
Referenced by ComputeDiff(), CubicSplineScalarFunction(), and operator()().
|
private |
Definition at line 122 of file ScalarFunctionsImpl.h.
Referenced by ComputeDiff(), CubicSplineScalarFunction(), and operator()().