37#include "Kerchoffs2003ContractionModel.hpp"
39#include "TimeStepper.hpp"
74 const std::vector<double>& rY,
75 std::vector<double>& rDY)
114 f_iso =
T0 * pow(tanh(
a6*(lc-
a7)),2);
128 f_twitch = pow( tanh(t_a/tr)*tanh((t_max-t_a)/td), 2);
157 this->mVariableNames.push_back(
"lc");
158 this->mVariableUnits.push_back(
"um");
160 this->mParameterNames.push_back(
"tr");
161 this->mParameterUnits.push_back(
"ms");
162 this->mParameterNames.push_back(
"td");
163 this->mParameterUnits.push_back(
"ms");
164 this->mParameterNames.push_back(
"b");
165 this->mParameterUnits.push_back(
"ms/um");
167 this->mInitialised =
true;
const double DOUBLE_UNSET
std::vector< double > mTemporaryStateVariables
double GetParameter(unsigned index) const
std::vector< double > mStateVariables
std::vector< double > mParameters
void SetParameter(const std::string &rName, double value)
boost::shared_ptr< AbstractOdeSystemInformation > mpSystemInfo
Kerchoffs2003ContractionModel()
static const double mActivationVoltage
void SetInputParameters(ContractionModelInputParameters &rInputParameters)
void EvaluateYDerivatives(double time, const std::vector< double > &rY, std::vector< double > &rDY)
double GetActiveTension()
void SetStretchAndStretchRate(double stretch, double stretchRate)
static const double mDeactivationVoltage
bool mElectricallyUnactivated
double GetNextActiveTension()