Chaste Release::3.1
FixedModifier Class Reference

#include <Modifiers.hpp>

Inheritance diagram for FixedModifier:
Collaboration diagram for FixedModifier:

List of all members.

Public Member Functions

 FixedModifier (double value)
virtual double Calc (double param, double time)

Private Attributes

double mValue

Detailed Description

This class just returns a fixed value, regardless of the parameter's default or the time.

Definition at line 103 of file Modifiers.hpp.


Constructor & Destructor Documentation

FixedModifier::FixedModifier ( double  value) [inline]

Constructor

Parameters:
valueThe fixed value to use.

Definition at line 114 of file Modifiers.hpp.


Member Function Documentation

virtual double FixedModifier::Calc ( double  param,
double  time 
) [inline, virtual]

Perform the modification.

Parameters:
paramthe current value of the quantity which is being modified
timethe current simulation time
Returns:
the fixed value (ignores inputs)

Implements AbstractModifier.

Definition at line 126 of file Modifiers.hpp.

References mValue.


Member Data Documentation

Fixed value to clamp parameter at

Definition at line 107 of file Modifiers.hpp.

Referenced by Calc().


The documentation for this class was generated from the following file: