Chaste Release::3.1
FitzHughNagumo1961OdeSystem Class Reference

#include <FitzHughNagumo1961OdeSystem.hpp>

Inheritance diagram for FitzHughNagumo1961OdeSystem:
Collaboration diagram for FitzHughNagumo1961OdeSystem:

List of all members.

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 (const std::vector< double > *pStateVariables=NULL)

Static Private Attributes

static const double mAlpha = -0.08
static const double mGamma = 3.00
static const double mEpsilon = 0.005

Detailed Description

Represents the FitzHugh-Nagumo system of ODEs.

Definition at line 45 of file FitzHughNagumo1961OdeSystem.hpp.


Constructor & Destructor Documentation

FitzHughNagumo1961OdeSystem::FitzHughNagumo1961OdeSystem ( boost::shared_ptr< AbstractIvpOdeSolver pOdeSolver,
boost::shared_ptr< AbstractStimulusFunction pIntracellularStimulus 
)

Constructor

Parameters:
pOdeSolveris a pointer to the ODE solver
pIntracellularStimulusis a pointer to the intracellular stimulus

Definition at line 47 of file FitzHughNagumo1961OdeSystem.cpp.

References AbstractCardiacCell::Init(), and AbstractUntemplatedParameterisedSystem::mpSystemInfo.

FitzHughNagumo1961OdeSystem::~FitzHughNagumo1961OdeSystem ( void  )

Destructor

Definition at line 57 of file FitzHughNagumo1961OdeSystem.cpp.


Member Function Documentation

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

Parameters:
timethe current time, in milliseconds
rYcurrent values of the state variables
rDYto be filled in with derivatives

Implements AbstractOdeSystem.

Definition at line 61 of file FitzHughNagumo1961OdeSystem.cpp.

References AbstractCardiacCellInterface::GetIntracellularAreaStimulus(), mAlpha, mEpsilon, mGamma, and AbstractCardiacCellInterface::mSetVoltageDerivativeToZero.

double FitzHughNagumo1961OdeSystem::GetIIonic ( const std::vector< double > *  pStateVariables = NULL) [virtual]

Calculates the ionic current.

Parameters:
pStateVariablesoptionally can be supplied to evaluate the ionic current at the given state; by default the cell's internal state will be used.
Returns:
the total ionic current

Implements AbstractCardiacCellInterface.

Definition at line 83 of file FitzHughNagumo1961OdeSystem.cpp.

References mAlpha, AbstractParameterisedSystem< std::vector< double > >::mStateVariables, and AbstractCardiacCellInterface::mVoltageIndex.


Member Data Documentation

const double FitzHughNagumo1961OdeSystem::mAlpha = -0.08 [static, private]

Constant parameter alpha

Definition at line 48 of file FitzHughNagumo1961OdeSystem.hpp.

Referenced by EvaluateYDerivatives(), and GetIIonic().

const double FitzHughNagumo1961OdeSystem::mEpsilon = 0.005 [static, private]

Constant parameter epsilon

Definition at line 50 of file FitzHughNagumo1961OdeSystem.hpp.

Referenced by EvaluateYDerivatives().

const double FitzHughNagumo1961OdeSystem::mGamma = 3.00 [static, private]

Constant parameter gamma

Definition at line 49 of file FitzHughNagumo1961OdeSystem.hpp.

Referenced by EvaluateYDerivatives().


The documentation for this class was generated from the following files: