Chaste
Release::3.4
|
#include <FactorModifier.hpp>
Public Member Functions | |
FactorModifier (double factor=1) | |
virtual | ~FactorModifier () |
virtual double | Calc (double param, double time) |
Public Member Functions inherited from AbstractModifier | |
AbstractModifier (void) | |
virtual | ~AbstractModifier () |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
double | mFactor |
Friends | |
class | boost::serialization::access |
This class allows modification of parameters by a scale factor.
Definition at line 49 of file FactorModifier.hpp.
|
inline |
Constructor
factor | scale factor to use, defaults to 1 (i.e. no effect) |
Definition at line 75 of file FactorModifier.hpp.
|
inlinevirtual |
Default destructor.
Definition at line 83 of file FactorModifier.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 38 of file FactorModifier.cpp.
References mFactor.
|
inlineprivate |
Archive the member variables.
archive | |
version |
Definition at line 61 of file FactorModifier.hpp.
References mFactor.
|
friend |
Needed for serialization.
Definition at line 53 of file FactorModifier.hpp.
|
private |
Factor to multiply parameter of interest by.
Definition at line 68 of file FactorModifier.hpp.
Referenced by Calc(), and serialize().