Chaste Commit::baa90ac2819b962188b7562f2326be23c47859a7
|
#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 () |
Public Member Functions inherited from AbstractAlgebraicContractionModel | |
AbstractAlgebraicContractionModel () | |
void | RunDoNotUpdate (double startTime, double endTime, double timestep) |
void | RunAndUpdate (double startTime, double endTime, double timestep) |
double | GetNextActiveTension () |
void | UpdateStateVariables () |
Public Member Functions inherited from AbstractContractionModel | |
AbstractContractionModel () | |
virtual | ~AbstractContractionModel () |
void | SetStretch (double stretch) |
Private Attributes | |
unsigned | mOption |
double | mStretch |
Additional Inherited Members | |
Protected Attributes inherited from AbstractAlgebraicContractionModel | |
double | mTime |
3 algebraic (non-ODE based), non-physiological contraction models. The returned active tension, sigma_a, is: (1) sigma_a = |5 sin(t/4)| (2) sigma_a = |5 lam sin(t/4)| (3) sigma_a = |5 exp(1-lam) sin(t/4)| where lam is the fibre stretch.
Definition at line 50 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 42 of file NonPhysiologicalContractionModel.cpp.
|
virtual |
Implements AbstractContractionModel.
Definition at line 62 of file NonPhysiologicalContractionModel.cpp.
References mOption, mStretch, and AbstractAlgebraicContractionModel::mTime.
|
inlinevirtual |
Implements AbstractContractionModel.
Definition at line 84 of file NonPhysiologicalContractionModel.hpp.
|
inlinevirtual |
Implements AbstractContractionModel.
Definition at line 92 of file NonPhysiologicalContractionModel.hpp.
|
virtual |
Set the input parameters (none of which are used in this model
rInputParameters | Structure containing voltage, [Ca]_i. |
Implements AbstractContractionModel.
Definition at line 53 of file NonPhysiologicalContractionModel.cpp.
|
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 57 of file NonPhysiologicalContractionModel.cpp.
References mStretch.
|
private |
Number between 1 and 3 indicating which model is to be used
Definition at line 54 of file NonPhysiologicalContractionModel.hpp.
Referenced by NonPhysiologicalContractionModel(), and GetActiveTension().
|
private |
Fibre stretch
Definition at line 56 of file NonPhysiologicalContractionModel.hpp.
Referenced by NonPhysiologicalContractionModel(), GetActiveTension(), and SetStretchAndStretchRate().