Chaste Commit::f2ff7ee04e70ac9d06c57344df8d017dbb12b97b
AbstractAlgebraicContractionModel Class Reference

#include <AbstractAlgebraicContractionModel.hpp>

+ Inheritance diagram for AbstractAlgebraicContractionModel:
+ Collaboration diagram for AbstractAlgebraicContractionModel:

Public Member Functions

 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 ()
 
virtual bool IsStretchDependent ()=0
 
virtual bool IsStretchRateDependent ()=0
 
virtual void SetInputParameters (ContractionModelInputParameters &rInputParameters)=0
 
virtual void SetStretchAndStretchRate (double stretch, double stretchRate)=0
 
void SetStretch (double stretch)
 
virtual double GetActiveTension ()=0
 

Protected Attributes

double mTime
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ AbstractAlgebraicContractionModel()

AbstractAlgebraicContractionModel::AbstractAlgebraicContractionModel ( )
inline

Constructor does nothing

Definition at line 56 of file AbstractAlgebraicContractionModel.hpp.

References mTime.

Member Function Documentation

◆ GetNextActiveTension()

double AbstractAlgebraicContractionModel::GetNextActiveTension ( )
inlinevirtual
Returns
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().

◆ RunAndUpdate()

void AbstractAlgebraicContractionModel::RunAndUpdate ( double  startTime,
double  endTime,
double  timestep 
)
inlinevirtual

No ODE to run, so this does nothing except save the time (using the time at the next timestep)

Parameters
startTimestart time
endTimeend time
timesteptimestep for integrating ODEs if there were any

Implements AbstractContractionModel.

Definition at line 79 of file AbstractAlgebraicContractionModel.hpp.

References mTime.

◆ RunDoNotUpdate()

void AbstractAlgebraicContractionModel::RunDoNotUpdate ( double  startTime,
double  endTime,
double  timestep 
)
inlinevirtual

No ODE to run, so this does nothing except save the time (using the time at the next timestep)

Parameters
startTimestart time
endTimeend time
timesteptimestep for integrating ODEs if there were any

Implements AbstractContractionModel.

Definition at line 68 of file AbstractAlgebraicContractionModel.hpp.

References mTime.

◆ UpdateStateVariables()

void AbstractAlgebraicContractionModel::UpdateStateVariables ( )
inlinevirtual

No ODE so does nothing.

Implements AbstractContractionModel.

Definition at line 94 of file AbstractAlgebraicContractionModel.hpp.

Member Data Documentation

◆ mTime

double AbstractAlgebraicContractionModel::mTime
protected

The documentation for this class was generated from the following file: