#include <Modifiers.hpp>
Inherits AbstractModifier.

Public Member Functions | |
| TimeModifier () | |
| virtual double | Calc (double param, double time) |
This is just an example class to show how you might specify a custom modifier to change a parameter through time. In this case it implements a sin(time)*default_parameter factor modifier.
Definition at line 71 of file Modifiers.hpp.
| TimeModifier::TimeModifier | ( | ) | [inline] |
Constructor
Definition at line 77 of file Modifiers.hpp.
Perform the modification.
| param | the current value of the quantity which is being modified | |
| time | the current simulation time |
Implements AbstractModifier.
Definition at line 87 of file Modifiers.hpp.
1.6.3