Chaste  Release::3.4
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 ( )
inline

Constructor does nothing

Definition at line 56 of file AbstractAlgebraicContractionModel.hpp.

References mTime.

Member Function Documentation

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().

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.

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.

void AbstractAlgebraicContractionModel::UpdateStateVariables ( )
inlinevirtual

No ODE so does nothing.

Implements AbstractContractionModel.

Definition at line 94 of file AbstractAlgebraicContractionModel.hpp.

Member Data Documentation

double AbstractAlgebraicContractionModel::mTime
protected

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