This class encapsulates a time-dependent function. Instantiating an object of a class derived from this is one way to supply a function to a FunctionCollection object. The other is to define a static function of type f_t().
Definition at line 16 of file FunctionModel.hpp.
Public Member Functions | |
| virtual | ~FunctionModel () |
| Destructor. | |
| virtual double | evaluate (const double t, const double y[])=0 |
| Evaluate the function. | |
| ~FunctionModel | ( | ) | [virtual] |
| virtual double evaluate | ( | const double | t, | |
| const double | y[] | |||
| ) | [pure virtual] |
Evaluate the function.
| t | The time. | |
| y | State variable values at time t. |
1.5.3