ConstantActiveTension Class Reference

#include <ConstantActiveTension.hpp>

Inherits AbstractAlgebraicContractionModel.

Collaboration diagram for ConstantActiveTension:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ConstantActiveTension ()
void SetInputParameters (ContractionModelInputParameters &rInputParameters)
void SetStretchAndStretchRate (double stretch, double stretchRate)
double GetActiveTension ()
bool IsStretchDependent ()
bool IsStretchRateDependent ()
void SetActiveTensionValue (double activeTension)

Private Attributes

double mConstantActiveTension

Detailed Description

A contraction model that just returns a constant (in space and time) active tension.

Definition at line 46 of file ConstantActiveTension.hpp.


Constructor & Destructor Documentation

ConstantActiveTension::ConstantActiveTension (  )  [inline]

Constructor.

Definition at line 53 of file ConstantActiveTension.hpp.


Member Function Documentation

double ConstantActiveTension::GetActiveTension (  )  [inline, virtual]
Returns:
the active tension given the current stretch and time It will return the same value

Implements AbstractContractionModel.

Definition at line 81 of file ConstantActiveTension.hpp.

bool ConstantActiveTension::IsStretchDependent (  )  [inline, virtual]
Returns:
whether model is stretch-rate-independent

Implements AbstractContractionModel.

Definition at line 89 of file ConstantActiveTension.hpp.

bool ConstantActiveTension::IsStretchRateDependent (  )  [inline, virtual]
Returns:
whether model is stretch-rate-independent

Implements AbstractContractionModel.

Definition at line 97 of file ConstantActiveTension.hpp.

void ConstantActiveTension::SetActiveTensionValue ( double  activeTension  )  [inline]

Set the constant active tension

Parameters:
activeTension the active tension

Definition at line 106 of file ConstantActiveTension.hpp.

void ConstantActiveTension::SetInputParameters ( ContractionModelInputParameters rInputParameters  )  [inline, virtual]

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

Parameters:
rInputParameters Structure containing voltage, [Ca]_i.

Implements AbstractContractionModel.

Definition at line 63 of file ConstantActiveTension.hpp.

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

Set the fibre stretch and stretch-rate (none of these are used)

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

Implements AbstractContractionModel.

Definition at line 72 of file ConstantActiveTension.hpp.


Member Data Documentation

The constant active tension. Defaults to 1.0.

Definition at line 47 of file ConstantActiveTension.hpp.


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

Generated by  doxygen 1.6.2