Chaste Commit::ca8ccdedf819b6e02855bc0e8e6f50bdecbc5208
ConstantActiveTension Class Reference

#include <ConstantActiveTension.hpp>

+ Inheritance diagram for ConstantActiveTension:
+ Collaboration diagram for ConstantActiveTension:

Public Member Functions

 ConstantActiveTension ()
 
void SetInputParameters (ContractionModelInputParameters &rInputParameters)
 
void SetStretchAndStretchRate (double stretch, double stretchRate)
 
double GetActiveTension ()
 
bool IsStretchDependent ()
 
bool IsStretchRateDependent ()
 
void SetActiveTensionValue (double activeTension)
 
- Public Member Functions inherited from AbstractAlgebraicContractionModel
 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 ()
 
void SetStretch (double stretch)
 

Private Attributes

double mConstantActiveTension
 

Additional Inherited Members

- Protected Attributes inherited from AbstractAlgebraicContractionModel
double mTime
 

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::ConstantActiveTension ( )
inline

Constructor.

Definition at line 59 of file ConstantActiveTension.hpp.

Member Function Documentation

◆ GetActiveTension()

double ConstantActiveTension::GetActiveTension ( )
inlinevirtual
Returns
the active tension given the current stretch and time It will return the same value

Implements AbstractContractionModel.

Definition at line 87 of file ConstantActiveTension.hpp.

References mConstantActiveTension.

◆ IsStretchDependent()

bool ConstantActiveTension::IsStretchDependent ( )
inlinevirtual
Returns
whether model is stretch-rate-independent

Implements AbstractContractionModel.

Definition at line 95 of file ConstantActiveTension.hpp.

◆ IsStretchRateDependent()

bool ConstantActiveTension::IsStretchRateDependent ( )
inlinevirtual
Returns
whether model is stretch-rate-independent

Implements AbstractContractionModel.

Definition at line 103 of file ConstantActiveTension.hpp.

◆ SetActiveTensionValue()

void ConstantActiveTension::SetActiveTensionValue ( double  activeTension)
inline

Set the constant active tension

Parameters
activeTensionthe active tension

Definition at line 112 of file ConstantActiveTension.hpp.

References mConstantActiveTension.

◆ SetInputParameters()

void ConstantActiveTension::SetInputParameters ( ContractionModelInputParameters rInputParameters)
inlinevirtual

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

Parameters
rInputParametersStructure containing voltage, [Ca]_i.

Implements AbstractContractionModel.

Definition at line 69 of file ConstantActiveTension.hpp.

◆ SetStretchAndStretchRate()

void ConstantActiveTension::SetStretchAndStretchRate ( double  stretch,
double  stretchRate 
)
inlinevirtual

Set the fibre stretch and stretch-rate (none of these are 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 78 of file ConstantActiveTension.hpp.

Member Data Documentation

◆ mConstantActiveTension

double ConstantActiveTension::mConstantActiveTension
private

The constant active tension. Defaults to 1.0.

Definition at line 53 of file ConstantActiveTension.hpp.

Referenced by GetActiveTension(), and SetActiveTensionValue().


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