#include <Mahajan2008OdeSystem.hpp>
Public Member Functions | |
Mahajan2008OdeSystem (boost::shared_ptr< AbstractIvpOdeSolver > pSolver, boost::shared_ptr< AbstractStimulusFunction > pIntracellularStimulus) | |
~Mahajan2008OdeSystem () | |
void | VerifyGatingVariables () |
void | SetScaleFactorGks (double sfgks) |
void | SetScaleFactorIto (double sfito) |
void | SetScaleFactorGkr (double sfgkr) |
double | GetIIonic () |
void | EvaluateYDerivatives (double var_Environment__time, const std::vector< double > &rY, std::vector< double > &rDY) |
Private Attributes | |
double | mScaleFactorGks |
double | mScaleFactorIto |
double | mScaleFactorGkr |
Definition at line 42 of file Mahajan2008OdeSystem.hpp.
Mahajan2008OdeSystem::Mahajan2008OdeSystem | ( | boost::shared_ptr< AbstractIvpOdeSolver > | pSolver, | |
boost::shared_ptr< AbstractStimulusFunction > | pIntracellularStimulus | |||
) |
Constructor
pSolver | is a pointer to the ODE solver | |
pIntracellularStimulus | is a pointer to the intracellular stimulus |
Definition at line 20 of file Mahajan2008OdeSystem.cpp.
References AbstractCardiacCell::Init(), OdeSystemInformation< ODE_SYSTEM >::Instance(), AbstractOdeSystem::mpSystemInfo, mScaleFactorGkr, mScaleFactorGks, and mScaleFactorIto.
Mahajan2008OdeSystem::~Mahajan2008OdeSystem | ( | void | ) |
Destructor
Definition at line 33 of file Mahajan2008OdeSystem.cpp.
void Mahajan2008OdeSystem::VerifyGatingVariables | ( | ) |
verify the state variables
void Mahajan2008OdeSystem::SetScaleFactorGks | ( | double | sfgks | ) |
Set the scale factor for Gks in order to differentiate epi M and endo cells
sfgks |
Definition at line 37 of file Mahajan2008OdeSystem.cpp.
References mScaleFactorGks.
void Mahajan2008OdeSystem::SetScaleFactorIto | ( | double | sfito | ) |
Set the scale factor for Gks in order to differentiate epi M and endo cells
sfito |
Definition at line 41 of file Mahajan2008OdeSystem.cpp.
References mScaleFactorIto.
void Mahajan2008OdeSystem::SetScaleFactorGkr | ( | double | sfgkr | ) |
Set the scale factor for Gkr (might be useful for simulating LQT2)
sfgkr |
Definition at line 45 of file Mahajan2008OdeSystem.cpp.
References mScaleFactorGkr.
double Mahajan2008OdeSystem::GetIIonic | ( | ) | [virtual] |
Calculates the ionic current
Implements AbstractCardiacCell.
Definition at line 52 of file Mahajan2008OdeSystem.cpp.
References mScaleFactorGkr, mScaleFactorGks, mScaleFactorIto, and AbstractOdeSystem::rGetStateVariables().
void Mahajan2008OdeSystem::EvaluateYDerivatives | ( | double | var_Environment__time, | |
const std::vector< double > & | rY, | |||
std::vector< double > & | rDY | |||
) | [virtual] |
Evaluate the derivatives of the state variables
var_Environment__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 209 of file Mahajan2008OdeSystem.cpp.
References AbstractCardiacCell::GetStimulus(), mScaleFactorGkr, mScaleFactorGks, mScaleFactorIto, and AbstractCardiacCell::mSetVoltageDerivativeToZero.
double Mahajan2008OdeSystem::mScaleFactorGks [private] |
Scale factor for Gks
Definition at line 46 of file Mahajan2008OdeSystem.hpp.
Referenced by EvaluateYDerivatives(), GetIIonic(), Mahajan2008OdeSystem(), and SetScaleFactorGks().
double Mahajan2008OdeSystem::mScaleFactorIto [private] |
Scale factor for Gto
Definition at line 48 of file Mahajan2008OdeSystem.hpp.
Referenced by EvaluateYDerivatives(), GetIIonic(), Mahajan2008OdeSystem(), and SetScaleFactorIto().
double Mahajan2008OdeSystem::mScaleFactorGkr [private] |
Scale factor for Gkr
Definition at line 50 of file Mahajan2008OdeSystem.hpp.
Referenced by EvaluateYDerivatives(), GetIIonic(), Mahajan2008OdeSystem(), and SetScaleFactorGkr().