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;
void SetStretchAndStretchRate(double stretch, double stretchRate)
std::vector< double > mStateVariables
double GetParameter(unsigned index) const
Kerchoffs2003ContractionModel()
const double DOUBLE_UNSET
double GetNextActiveTension()
bool mElectricallyUnactivated
static const double mActivationVoltage
static const double mDeactivationVoltage
double GetActiveTension()
void SetParameter(const std::string &rName, double value)
void EvaluateYDerivatives(double time, const std::vector< double > &rY, std::vector< double > &rDY)
std::vector< double > mParameters
boost::shared_ptr< AbstractOdeSystemInformation > mpSystemInfo
void SetInputParameters(ContractionModelInputParameters &rInputParameters)
std::vector< double > mTemporaryStateVariables