36 #ifndef NASH2004CONTRACTIONMODEL_HPP_ 37 #define NASH2004CONTRACTIONMODEL_HPP_ 39 #include "AbstractOdeBasedContractionModel.hpp" 40 #include "OdeSystemInformation.hpp" 63 static const double kTa;
89 double epsilon = (mScaledVoltage < 0.05 ? e0ByT0 : 10*
e0ByT0);
90 rDY[0] = epsilon * (kTa*mScaledVoltage - rY[0]);
100 mScaledVoltage = (rInputParameters.
voltage+85)/125;
void SetStretchAndStretchRate(double stretch, double stretchRate)
static const double e0ByT0
std::vector< double > mStateVariables
std::vector< double > & rGetStateVariables()
double GetNextActiveTension()
bool IsStretchDependent()
const double DOUBLE_UNSET
Nash2004ContractionModel()
void SetInputParameters(ContractionModelInputParameters &rInputParameters)
void EvaluateYDerivatives(double time, const std::vector< double > &rY, std::vector< double > &rDY)
boost::shared_ptr< AbstractOdeSystemInformation > mpSystemInfo
double GetActiveTension()
std::vector< double > mTemporaryStateVariables
bool IsStretchRateDependent()