|
Chaste Release::3.1
|
#include <Modifiers.hpp>
Inheritance diagram for TimeModifier:
Collaboration diagram for TimeModifier: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 78 of file Modifiers.hpp.
| TimeModifier::TimeModifier | ( | ) | [inline] |
Constructor
Definition at line 84 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 94 of file Modifiers.hpp.