Chaste Release::3.1
NonPhysiologicalContractionModel Class Reference

#include <NonPhysiologicalContractionModel.hpp>

Inheritance diagram for NonPhysiologicalContractionModel:
Collaboration diagram for NonPhysiologicalContractionModel:

List of all members.

Public Member Functions

 NonPhysiologicalContractionModel (unsigned option)
void SetInputParameters (ContractionModelInputParameters &rInputParameters)
void SetStretchAndStretchRate (double stretch, double stretchRate)
double GetActiveTension ()
bool IsStretchDependent ()
bool IsStretchRateDependent ()

Private Attributes

unsigned mOption
double mStretch

Detailed Description

3 algebraic (non-ODE based), non-physiological contraction models. The returned active tension, sigma_a, is: (1) sigma_a = |5 sin(t/4)| (2) sigma_a = |5 lam sin(t/4)| (3) sigma_a = |5 exp(1-lam) sin(t/4)| where lam is the fibre stretch.

Definition at line 50 of file NonPhysiologicalContractionModel.hpp.


Constructor & Destructor Documentation

NonPhysiologicalContractionModel::NonPhysiologicalContractionModel ( unsigned  option)

Constructor.

Parameters:
optionNumber between 1 and 3 which determines which model is used. See class documentations

Definition at line 42 of file NonPhysiologicalContractionModel.cpp.

References mOption, and mStretch.


Member Function Documentation

double NonPhysiologicalContractionModel::GetActiveTension ( ) [virtual]

Get the active tension given the current stretch and time

Implements AbstractContractionModel.

Definition at line 62 of file NonPhysiologicalContractionModel.cpp.

References mOption, mStretch, and AbstractAlgebraicContractionModel::mTime.

bool NonPhysiologicalContractionModel::IsStretchDependent ( ) [inline, virtual]

This model is stretch-rate-independent

Implements AbstractContractionModel.

Definition at line 84 of file NonPhysiologicalContractionModel.hpp.

bool NonPhysiologicalContractionModel::IsStretchRateDependent ( ) [inline, virtual]

This model is stretch-rate-independent

Implements AbstractContractionModel.

Definition at line 92 of file NonPhysiologicalContractionModel.hpp.

void NonPhysiologicalContractionModel::SetInputParameters ( ContractionModelInputParameters rInputParameters) [virtual]

Set the input parameters (none of which are used in this model

Parameters:
rInputParametersStructure containing voltage, [Ca]_i.

Implements AbstractContractionModel.

Definition at line 53 of file NonPhysiologicalContractionModel.cpp.

void NonPhysiologicalContractionModel::SetStretchAndStretchRate ( double  stretch,
double  stretchRate 
) [virtual]

Set the fibre stretch and stretch-rate (only stretch is used)

Parameters:
stretchstretch in the fibre direction
stretchRaterate of change of stretch in the fibre direction (not used in this model).

Implements AbstractContractionModel.

Definition at line 57 of file NonPhysiologicalContractionModel.cpp.

References mStretch.


Member Data Documentation

Number between 1 and 3 indicating which model is to be used

Definition at line 54 of file NonPhysiologicalContractionModel.hpp.

Referenced by GetActiveTension(), and NonPhysiologicalContractionModel().


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