#include <AbstractAlgebraicContractionModel.hpp>
Inherits AbstractContractionModel.
Inherited by NonPhysiologicalContractionModel.
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 41 of file AbstractAlgebraicContractionModel.hpp.
AbstractAlgebraicContractionModel::AbstractAlgebraicContractionModel | ( | ) | [inline] |
Constructor does nothing
Definition at line 42 of file AbstractAlgebraicContractionModel.hpp.
References AbstractContractionModel::AbstractContractionModel(), and 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 74 of file AbstractAlgebraicContractionModel.hpp.
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 65 of file AbstractAlgebraicContractionModel.hpp.
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 54 of file AbstractAlgebraicContractionModel.hpp.
References mTime.
void AbstractAlgebraicContractionModel::UpdateStateVariables | ( | ) | [inline, virtual] |
No ODE so does nothing.
Implements AbstractContractionModel.
Definition at line 80 of file AbstractAlgebraicContractionModel.hpp.
double AbstractAlgebraicContractionModel::mTime [protected] |
The time at the next timestep. Set in RunDoNotUpdate()
Definition at line 38 of file AbstractAlgebraicContractionModel.hpp.
Referenced by AbstractAlgebraicContractionModel(), NonPhysiologicalContractionModel::GetActiveTension(), and RunDoNotUpdate().