Represents a function that is constant before and after a linear ramp.
More...
#include <scalarFunction.h>
|
| LinearFunction (const ConfigOptions &options) |
|
virtual double | a (double t) const |
| Compute the value of the function at time t .
|
|
virtual double | dadt (double t) const |
| Compute the time derivative of the function at time t .
|
|
| ScalarFunction () |
|
virtual | ~ScalarFunction () |
|
virtual void | setCoefficients (int n, const double *coeffs) |
| Set the parameters associated with this function.
|
|
virtual double | a (double t) const =0 |
| Compute the value of the function at time t .
|
|
virtual double | dadt (double t) const =0 |
| Compute the time derivative of the function at time t .
|
|
Represents a function that is constant before and after a linear ramp.
The value is constant at aInitial until time T0, then increases linearly to aFinal at time T0 + Dt.
◆ LinearFunction()
◆ a()
double LinearFunction::a |
( |
double |
t | ) |
const |
|
virtual |
Compute the value of the function at time t
.
Implements ScalarFunction.
◆ dadt()
double LinearFunction::dadt |
( |
double |
t | ) |
const |
|
virtual |
Compute the time derivative of the function at time t
.
Implements ScalarFunction.
◆ aInitial
double LinearFunction::aInitial |
|
private |
◆ aFinal
double LinearFunction::aFinal |
|
private |
◆ T0
double LinearFunction::T0 |
|
private |
◆ Dt
double LinearFunction::Dt |
|
private |
The documentation for this class was generated from the following files: