#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 |
Definition at line 41 of file AbstractAlgebraicContractionModel.hpp.
AbstractAlgebraicContractionModel::AbstractAlgebraicContractionModel | ( | ) | [inline] |
Constructor does nothing
Definition at line 49 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 61 of file AbstractAlgebraicContractionModel.hpp.
References mTime.
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 72 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 81 of file AbstractAlgebraicContractionModel.hpp.
References AbstractContractionModel::GetActiveTension().
void AbstractAlgebraicContractionModel::UpdateStateVariables | ( | ) | [inline, virtual] |
No ODE so does nothing.
Implements AbstractContractionModel.
Definition at line 87 of file AbstractAlgebraicContractionModel.hpp.
double AbstractAlgebraicContractionModel::mTime [protected] |
The time at the next timestep. Set in RunDoNotUpdate()
Definition at line 45 of file AbstractAlgebraicContractionModel.hpp.
Referenced by AbstractAlgebraicContractionModel(), NonPhysiologicalContractionModel::GetActiveTension(), RunAndUpdate(), and RunDoNotUpdate().