Chaste Commit::1fd4e48e3990e67db148bc1bc4cf6991a0049d0c
|
#include <FixedModifier.hpp>
Public Member Functions | |
FixedModifier (double value) | |
virtual | ~FixedModifier () |
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) |
FixedModifier () | |
Private Attributes | |
double | mValue |
Friends | |
class | boost::serialization::access |
This class just returns a fixed value, regardless of the parameter's default or the time.
Definition at line 49 of file FixedModifier.hpp.
|
inlineprivate |
Private constructor for use by archiving only
Definition at line 71 of file FixedModifier.hpp.
|
inline |
Constructor
value | The fixed value to use. |
Definition at line 78 of file FixedModifier.hpp.
|
inlinevirtual |
Default destructor.
Definition at line 86 of file FixedModifier.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 FixedModifier.cpp.
References mValue.
|
inlineprivate |
Archive the member variables.
archive | |
version |
Definition at line 61 of file FixedModifier.hpp.
References mValue.
|
friend |
Needed for serialization.
Definition at line 53 of file FixedModifier.hpp.
|
private |
Fixed value to clamp parameter at
Definition at line 68 of file FixedModifier.hpp.
Referenced by Calc(), and serialize().