#include <Modifiers.hpp>
Public Member Functions | |
FactorModifier (double factor=1) | |
virtual double | Calc (double param, double time) |
Private Attributes | |
double | mFactor |
Definition at line 38 of file Modifiers.hpp.
FactorModifier::FactorModifier | ( | double | factor = 1 |
) | [inline] |
Constructor
factor | scale factor to use, defaults to 1 (i.e. no effect) |
Definition at line 49 of file Modifiers.hpp.
virtual double FactorModifier::Calc | ( | double | param, | |
double | time | |||
) | [inline, virtual] |
Perform the modification.
param | the current value of the quantity which is being modified | |
time | the current simulation time |
Implements AbstractModifier.
Definition at line 60 of file Modifiers.hpp.
References mFactor.
double FactorModifier::mFactor [private] |
Factor to multiply parameter of interest by.
Definition at line 42 of file Modifiers.hpp.
Referenced by Calc().