#include <FitzHughNagumo1961OdeSystem.hpp>
Inherits AbstractCardiacCell.
Public Member Functions | |
FitzHughNagumo1961OdeSystem (boost::shared_ptr< AbstractIvpOdeSolver > pOdeSolver, boost::shared_ptr< AbstractStimulusFunction > pIntracellularStimulus) | |
~FitzHughNagumo1961OdeSystem () | |
void | EvaluateYDerivatives (double time, const std::vector< double > &rY, std::vector< double > &rDY) |
double | GetIIonic () |
Static Private Attributes | |
static const double | mAlpha = -0.08 |
static const double | mGamma = 3.00 |
static const double | mEpsilon = 0.005 |
Represents the FitzHugh-Nagumo system of ODEs.
Definition at line 38 of file FitzHughNagumo1961OdeSystem.hpp.
FitzHughNagumo1961OdeSystem::FitzHughNagumo1961OdeSystem | ( | boost::shared_ptr< AbstractIvpOdeSolver > | pOdeSolver, | |
boost::shared_ptr< AbstractStimulusFunction > | pIntracellularStimulus | |||
) |
Constructor
pOdeSolver | is a pointer to the ODE solver | |
pIntracellularStimulus | is a pointer to the intracellular stimulus |
Definition at line 40 of file FitzHughNagumo1961OdeSystem.cpp.
References AbstractCardiacCell::Init(), and AbstractOdeSystem::mpSystemInfo.
FitzHughNagumo1961OdeSystem::~FitzHughNagumo1961OdeSystem | ( | void | ) |
Destructor
Definition at line 50 of file FitzHughNagumo1961OdeSystem.cpp.
void FitzHughNagumo1961OdeSystem::EvaluateYDerivatives | ( | double | time, | |
const std::vector< double > & | rY, | |||
std::vector< double > & | rDY | |||
) | [virtual] |
Compute the RHS of the FitHugh-Nagumo system of ODEs
time | the current time, in milliseconds | |
rY | current values of the state variables | |
rDY | to be filled in with derivatives |
Implements AbstractOdeSystem.
Definition at line 54 of file FitzHughNagumo1961OdeSystem.cpp.
References AbstractCardiacCell::GetStimulus(), mAlpha, mEpsilon, mGamma, and AbstractCardiacCell::mSetVoltageDerivativeToZero.
double FitzHughNagumo1961OdeSystem::GetIIonic | ( | ) | [virtual] |
Calculates the ionic current
Implements AbstractCardiacCell.
Definition at line 76 of file FitzHughNagumo1961OdeSystem.cpp.
References mAlpha, AbstractOdeSystem::mStateVariables, and AbstractCardiacCell::mVoltageIndex.
const double FitzHughNagumo1961OdeSystem::mAlpha = -0.08 [static, private] |
Constant parameter alpha
Definition at line 41 of file FitzHughNagumo1961OdeSystem.hpp.
Referenced by EvaluateYDerivatives(), and GetIIonic().
const double FitzHughNagumo1961OdeSystem::mEpsilon = 0.005 [static, private] |
Constant parameter epsilon
Definition at line 43 of file FitzHughNagumo1961OdeSystem.hpp.
Referenced by EvaluateYDerivatives().
const double FitzHughNagumo1961OdeSystem::mGamma = 3.00 [static, private] |
Constant parameter gamma
Definition at line 42 of file FitzHughNagumo1961OdeSystem.hpp.
Referenced by EvaluateYDerivatives().