36 #ifndef ABSTRACTCONTRACTIONMODEL_HPP_ 37 #define ABSTRACTCONTRACTIONMODEL_HPP_ 40 #include "ContractionModelName.hpp" 78 virtual bool IsStretchDependent()=0;
83 virtual bool IsStretchRateDependent()=0;
98 virtual void SetStretchAndStretchRate(
double stretch,
double stretchRate)=0;
105 assert(!IsStretchRateDependent());
106 SetStretchAndStretchRate(stretch, 0.0);
118 virtual void RunDoNotUpdate(
double startTime,
double endTime,
double timeStep)=0;
128 virtual void RunAndUpdate(
double startTime,
double endTime,
double timeStep)=0;
135 virtual void UpdateStateVariables()=0;
144 virtual double GetActiveTension()=0;
150 virtual double GetNextActiveTension()=0;
void SetStretch(double stretch)
virtual ~AbstractContractionModel()
AbstractContractionModel()