#include <NonPhysiologicalContractionModel.hpp>
Public Member Functions | |
NonPhysiologicalContractionModel (unsigned option) | |
void | SetInputParameters (ContractionModelInputParameters &rInputParameters) |
void | SetStretchAndStretchRate (double stretch, double stretchRate) |
double | GetActiveTension () |
bool | IsStretchDependent () |
bool | IsStretchRateDependent () |
Private Attributes | |
unsigned | mOption |
double | mStretch |
Definition at line 43 of file NonPhysiologicalContractionModel.hpp.
NonPhysiologicalContractionModel::NonPhysiologicalContractionModel | ( | unsigned | option | ) |
Constructor.
option | Number between 1 and 3 which determines which model is used. See class documentations |
Definition at line 35 of file NonPhysiologicalContractionModel.cpp.
void NonPhysiologicalContractionModel::SetInputParameters | ( | ContractionModelInputParameters & | rInputParameters | ) | [virtual] |
Set the input parameters (none of which are used in this model
rInputParameters | Structure containing voltage, [Ca]_i. |
Implements AbstractContractionModel.
Definition at line 46 of file NonPhysiologicalContractionModel.cpp.
void NonPhysiologicalContractionModel::SetStretchAndStretchRate | ( | double | stretch, | |
double | stretchRate | |||
) | [virtual] |
Set the fibre stretch and stretch-rate (only stretch is used)
stretch | stretch in the fibre direction | |
stretchRate | rate of change of stretch in the fibre direction (not used in this model). |
Implements AbstractContractionModel.
Definition at line 50 of file NonPhysiologicalContractionModel.cpp.
References mStretch.
double NonPhysiologicalContractionModel::GetActiveTension | ( | ) | [virtual] |
Get the active tension given the current stretch and time
Implements AbstractContractionModel.
Definition at line 55 of file NonPhysiologicalContractionModel.cpp.
References mOption, mStretch, and AbstractAlgebraicContractionModel::mTime.
bool NonPhysiologicalContractionModel::IsStretchDependent | ( | ) | [inline, virtual] |
This model is stretch-rate-independent
Implements AbstractContractionModel.
Definition at line 77 of file NonPhysiologicalContractionModel.hpp.
bool NonPhysiologicalContractionModel::IsStretchRateDependent | ( | ) | [inline, virtual] |
This model is stretch-rate-independent
Implements AbstractContractionModel.
Definition at line 85 of file NonPhysiologicalContractionModel.hpp.
unsigned NonPhysiologicalContractionModel::mOption [private] |
Number between 1 and 3 indicating which model is to be used
Definition at line 47 of file NonPhysiologicalContractionModel.hpp.
Referenced by GetActiveTension(), and NonPhysiologicalContractionModel().
double NonPhysiologicalContractionModel::mStretch [private] |
Fibre stretch
Definition at line 49 of file NonPhysiologicalContractionModel.hpp.
Referenced by GetActiveTension(), NonPhysiologicalContractionModel(), and SetStretchAndStretchRate().