Chaste Release::3.1
|
#include <AbstractAlgebraicContractionModel.hpp>
Public Member Functions | |
AbstractAlgebraicContractionModel () | |
void | RunDoNotUpdate (double startTime, double endTime, double timestep) |
void | RunAndUpdate (double startTime, double endTime, double timestep) |
double | GetNextActiveTension () |
void | UpdateStateVariables () |
Protected Attributes | |
double | mTime |
Contraction models that give the active tension as an algebraic function of [Ca] or voltage, stretch, stretch rate and time; with no ODEs to integrate.
Definition at line 48 of file AbstractAlgebraicContractionModel.hpp.
AbstractAlgebraicContractionModel::AbstractAlgebraicContractionModel | ( | ) | [inline] |
Constructor does nothing
Definition at line 56 of file AbstractAlgebraicContractionModel.hpp.
References mTime.
double AbstractAlgebraicContractionModel::GetNextActiveTension | ( | ) | [inline, virtual] |
Same as GetActiveTension() for algebraic models (uses which stretch and and stretch rate has been passed in).
Implements AbstractContractionModel.
Definition at line 88 of file AbstractAlgebraicContractionModel.hpp.
References AbstractContractionModel::GetActiveTension().
void AbstractAlgebraicContractionModel::RunAndUpdate | ( | double | startTime, |
double | endTime, | ||
double | timestep | ||
) | [inline, virtual] |
No ODE to run, so this does nothing except save the time (using the time at the next timestep)
startTime | start time |
endTime | end time |
timestep | timestep for integrating ODEs if there were any |
Implements AbstractContractionModel.
Definition at line 79 of file AbstractAlgebraicContractionModel.hpp.
References mTime.
void AbstractAlgebraicContractionModel::RunDoNotUpdate | ( | double | startTime, |
double | endTime, | ||
double | timestep | ||
) | [inline, virtual] |
No ODE to run, so this does nothing except save the time (using the time at the next timestep)
startTime | start time |
endTime | end time |
timestep | timestep for integrating ODEs if there were any |
Implements AbstractContractionModel.
Definition at line 68 of file AbstractAlgebraicContractionModel.hpp.
References mTime.
void AbstractAlgebraicContractionModel::UpdateStateVariables | ( | ) | [inline, virtual] |
No ODE so does nothing.
Implements AbstractContractionModel.
Definition at line 94 of file AbstractAlgebraicContractionModel.hpp.
double AbstractAlgebraicContractionModel::mTime [protected] |
The time at the next timestep. Set in RunDoNotUpdate()
Definition at line 52 of file AbstractAlgebraicContractionModel.hpp.
Referenced by AbstractAlgebraicContractionModel(), NonPhysiologicalContractionModel::GetActiveTension(), RunAndUpdate(), and RunDoNotUpdate().