#include <FitzHughNagumo1961OdeSystem.hpp>
Public Member Functions | |
FitzHughNagumo1961OdeSystem (AbstractIvpOdeSolver *pOdeSolver, AbstractStimulusFunction *pIntracelullarStimulus) | |
~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 |
Definition at line 38 of file FitzHughNagumo1961OdeSystem.hpp.
FitzHughNagumo1961OdeSystem::FitzHughNagumo1961OdeSystem | ( | AbstractIvpOdeSolver * | pOdeSolver, | |
AbstractStimulusFunction * | pIntracellularStimulus | |||
) |
Constructor
Definition at line 35 of file FitzHughNagumo1961OdeSystem.cpp.
References AbstractCardiacCell::Init(), OdeSystemInformation< ODE_SYSTEM >::Instance(), and AbstractOdeSystem::mpSystemInfo.
FitzHughNagumo1961OdeSystem::~FitzHughNagumo1961OdeSystem | ( | void | ) |
Destructor
Definition at line 49 of file FitzHughNagumo1961OdeSystem.cpp.
void FitzHughNagumo1961OdeSystem::EvaluateYDerivatives | ( | double | time, | |
const std::vector< double > & | rY, | |||
std::vector< double > & | rDY | |||
) | [virtual] |
Returns a vector representing the RHS of the FitzHugh-Nagumo system of Odes at each time step, y' = [y1' ... yn']. Some ODE solver will call this function repeatedly to solve for y = [y1 ... yn].
rDY | filled in vector of derivatives for the FitzHugh-Nagumo system of equations |
Implements AbstractOdeSystem.
Definition at line 59 of file FitzHughNagumo1961OdeSystem.cpp.
References mAlpha.
double FitzHughNagumo1961OdeSystem::GetIIonic | ( | ) | [virtual] |
Computes the total current flowing through the cell membrane, using the current values of the state variables.
Implements AbstractCardiacCell.
Definition at line 81 of file FitzHughNagumo1961OdeSystem.cpp.
References mAlpha, and AbstractCardiacCell::mVoltageIndex.
const double FitzHughNagumo1961OdeSystem::mAlpha = -0.08 [static, private] |
Constants for the FitzHugh-Nagumo model
Definition at line 44 of file FitzHughNagumo1961OdeSystem.hpp.
Referenced by EvaluateYDerivatives(), and GetIIonic().