Maleckar2009OdeSystem Class Reference

#include <Maleckar2009OdeSystem.hpp>

Inherits AbstractCardiacCell.

Collaboration diagram for Maleckar2009OdeSystem:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Maleckar2009OdeSystem (boost::shared_ptr< AbstractIvpOdeSolver > pSolver, boost::shared_ptr< AbstractStimulusFunction > pIntracellularStimulus)
 ~Maleckar2009OdeSystem (void)
void SetScaleFactorGks (double sfgks)
void SetScaleFactorIto (double sfito)
void SetScaleFactorGkr (double sfgkr)
void SetScaleFactorGna (double sfgna)
void SetScaleFactorAch (double sfach)
void SetScaleFactorGNaK (double sfgnak)
void SetScaleFactorGNaCa (double sfgnaca)
void SetScaleFactorGCaL (double sfgcal)
void SetScaleFactorGKur (double sfgkur)
void SetScaleFactorGK1 (double sfgk1)
void SetScaleFactorAZD (double sfazd)
double GetIIonic ()
void EvaluateYDerivatives (double var_environment__time, const std::vector< double > &rY, std::vector< double > &rDY)

Private Member Functions

void VerifyStateVariables ()
template<class Archive >
void serialize (Archive &archive, const unsigned int version)

Private Attributes

double mScaleFactorGks
double mScaleFactorIto
double mScaleFactorGkr
double mScaleFactorGna
double mScaleFactorAch
double mScaleFactorGNaK
double mScaleFactorGNaCa
double mScaleFactorGCaL
double mScaleFactorGKur
double mScaleFactorGK1
double mScaleFactorAZD

Friends

class boost::serialization::access

Detailed Description

This class implements the Maleckar 2009 atrial cell model The code has been translated by PyCml. Some scale factors have been manually added to be used to simulate the effect of some drug. By default, it behaves in a 'control' situation i.e., like the file downloaded from the CellML repository. State variables are initialised as to be at steady state for 1Hz.

Definition at line 31 of file Maleckar2009OdeSystem.hpp.


Constructor & Destructor Documentation

Maleckar2009OdeSystem::Maleckar2009OdeSystem ( boost::shared_ptr< AbstractIvpOdeSolver pSolver,
boost::shared_ptr< AbstractStimulusFunction pIntracellularStimulus 
)

Constructor

Parameters:
pSolver is a pointer to the ODE solver
pIntracellularStimulus is a pointer to the intracellular stimulus

Definition at line 19 of file Maleckar2009OdeSystem.cpp.

References AbstractCardiacCell::Init(), AbstractOdeSystem::mpSystemInfo, mScaleFactorAch, mScaleFactorAZD, mScaleFactorGCaL, mScaleFactorGK1, mScaleFactorGkr, mScaleFactorGks, mScaleFactorGKur, mScaleFactorGna, mScaleFactorGNaCa, mScaleFactorGNaK, and mScaleFactorIto.

Maleckar2009OdeSystem::~Maleckar2009OdeSystem ( void   ) 

Destructor

Definition at line 41 of file Maleckar2009OdeSystem.cpp.


Member Function Documentation

void Maleckar2009OdeSystem::EvaluateYDerivatives ( double  var_environment__time,
const std::vector< double > &  rY,
std::vector< double > &  rDY 
) [virtual]

Fill in a vector representing the RHS of the TenTusscher2006 system of Odes at each time step, y' = [y1' ... yn']. Some ODE solver will call this function repeatedly to solve for y = [y1 ... yn].

Parameters:
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 272 of file Maleckar2009OdeSystem.cpp.

References AbstractCardiacCell::GetStimulus(), mScaleFactorAch, mScaleFactorAZD, mScaleFactorGCaL, mScaleFactorGK1, mScaleFactorGkr, mScaleFactorGks, mScaleFactorGKur, mScaleFactorGna, mScaleFactorGNaCa, mScaleFactorGNaK, mScaleFactorIto, AbstractCardiacCell::mSetVoltageDerivativeToZero, and VerifyStateVariables().

double Maleckar2009OdeSystem::GetIIonic (  )  [virtual]
template<class Archive >
void Maleckar2009OdeSystem::serialize ( Archive &  archive,
const unsigned int  version 
) [inline, private]

Archive the member variables.

Parameters:
archive 
version 

Reimplemented from AbstractCardiacCell.

Definition at line 77 of file Maleckar2009OdeSystem.hpp.

void Maleckar2009OdeSystem::SetScaleFactorAch ( double  sfach  ) 

Set the scale factor for Ach, acetilcholine concentration

Parameters:
sfach 

Definition at line 61 of file Maleckar2009OdeSystem.cpp.

References mScaleFactorAch.

void Maleckar2009OdeSystem::SetScaleFactorAZD ( double  sfazd  ) 

Set the scale factor for concentration of AZD compound (fom AstraZeneca)

Parameters:
sfazd 

Definition at line 85 of file Maleckar2009OdeSystem.cpp.

References mScaleFactorAZD.

void Maleckar2009OdeSystem::SetScaleFactorGCaL ( double  sfgcal  ) 

Set the scale factor for L-type current

Parameters:
sfgcal 

Definition at line 73 of file Maleckar2009OdeSystem.cpp.

References mScaleFactorGCaL.

void Maleckar2009OdeSystem::SetScaleFactorGK1 ( double  sfgk1  ) 

Set the scale factor for the K1 current

Parameters:
sfgk1 

Definition at line 81 of file Maleckar2009OdeSystem.cpp.

References mScaleFactorGK1.

void Maleckar2009OdeSystem::SetScaleFactorGkr ( double  sfgkr  ) 

Set the scale factor for GKr

Parameters:
sfgkr 

Definition at line 53 of file Maleckar2009OdeSystem.cpp.

References mScaleFactorGkr.

Referenced by HeartConfigRelatedCellFactory< SPACE_DIM >::CreateCellWithIntracellularStimulus().

void Maleckar2009OdeSystem::SetScaleFactorGks ( double  sfgks  ) 

Set the scale factor for Gks

Parameters:
sfgks 

Definition at line 45 of file Maleckar2009OdeSystem.cpp.

References mScaleFactorGks.

Referenced by HeartConfigRelatedCellFactory< SPACE_DIM >::CreateCellWithIntracellularStimulus().

void Maleckar2009OdeSystem::SetScaleFactorGKur ( double  sfgkur  ) 

Set the scale factor for the Kur current

Parameters:
sfgkur 

Definition at line 77 of file Maleckar2009OdeSystem.cpp.

References mScaleFactorGKur.

void Maleckar2009OdeSystem::SetScaleFactorGna ( double  sfgna  ) 

Set the scale factor for GNa

Parameters:
sfgna 

Definition at line 57 of file Maleckar2009OdeSystem.cpp.

References mScaleFactorGna.

void Maleckar2009OdeSystem::SetScaleFactorGNaCa ( double  sfgnaca  ) 

Set the scale factor for Na/Ca exchanger

Parameters:
sfgnaca 

Definition at line 69 of file Maleckar2009OdeSystem.cpp.

References mScaleFactorGNaCa.

void Maleckar2009OdeSystem::SetScaleFactorGNaK ( double  sfgnak  ) 

Set the scale factor for Na/K exchanger

Parameters:
sfgnak 

Definition at line 65 of file Maleckar2009OdeSystem.cpp.

References mScaleFactorGNaK.

void Maleckar2009OdeSystem::SetScaleFactorIto ( double  sfito  ) 

Set the scale factor for Ito

Parameters:
sfito 

Definition at line 49 of file Maleckar2009OdeSystem.cpp.

References mScaleFactorIto.

Referenced by HeartConfigRelatedCellFactory< SPACE_DIM >::CreateCellWithIntracellularStimulus().

void Maleckar2009OdeSystem::VerifyStateVariables (  )  [private, virtual]

Range-checking on the current values of the state variables. Make sure all gating variables have are within zero and one, and all concentrations are positive.

///\ TODO : implement this!

Reimplemented from AbstractCardiacCell.

Definition at line 90 of file Maleckar2009OdeSystem.cpp.

Referenced by EvaluateYDerivatives().


Friends And Related Function Documentation

friend class boost::serialization::access [friend]

Needed for serialization.

Reimplemented from AbstractCardiacCell.

Definition at line 68 of file Maleckar2009OdeSystem.hpp.


Member Data Documentation

Scale factor for Ach, set to 1e-24 by the constructor

Definition at line 44 of file Maleckar2009OdeSystem.hpp.

Referenced by EvaluateYDerivatives(), GetIIonic(), Maleckar2009OdeSystem(), and SetScaleFactorAch().

Scale factor for AZD, set to 0 by the constructor

Definition at line 56 of file Maleckar2009OdeSystem.hpp.

Referenced by EvaluateYDerivatives(), GetIIonic(), Maleckar2009OdeSystem(), and SetScaleFactorAZD().

Scale factor for GCaL, set to 1 by the constructor

Definition at line 50 of file Maleckar2009OdeSystem.hpp.

Referenced by EvaluateYDerivatives(), GetIIonic(), Maleckar2009OdeSystem(), and SetScaleFactorGCaL().

Scale factor for GK1, set to 1 by the constructor

Definition at line 54 of file Maleckar2009OdeSystem.hpp.

Referenced by EvaluateYDerivatives(), GetIIonic(), Maleckar2009OdeSystem(), and SetScaleFactorGK1().

Scale factor for Gkr, set to 1 by the constructor

Definition at line 40 of file Maleckar2009OdeSystem.hpp.

Referenced by EvaluateYDerivatives(), GetIIonic(), Maleckar2009OdeSystem(), and SetScaleFactorGkr().

Scale factor for Gks, set to 1 by the constructor

Definition at line 36 of file Maleckar2009OdeSystem.hpp.

Referenced by EvaluateYDerivatives(), GetIIonic(), Maleckar2009OdeSystem(), and SetScaleFactorGks().

Scale factor for GKur, set to 1 by the constructor

Definition at line 52 of file Maleckar2009OdeSystem.hpp.

Referenced by EvaluateYDerivatives(), GetIIonic(), Maleckar2009OdeSystem(), and SetScaleFactorGKur().

Scale factor for Gna, set to 1 by the constructor

Definition at line 42 of file Maleckar2009OdeSystem.hpp.

Referenced by EvaluateYDerivatives(), GetIIonic(), Maleckar2009OdeSystem(), and SetScaleFactorGna().

Scale factor for GNaCa, set to 1 by the constructor

Definition at line 48 of file Maleckar2009OdeSystem.hpp.

Referenced by EvaluateYDerivatives(), GetIIonic(), Maleckar2009OdeSystem(), and SetScaleFactorGNaCa().

Scale factor for GNaK, set to 1 by the constructor

Definition at line 46 of file Maleckar2009OdeSystem.hpp.

Referenced by EvaluateYDerivatives(), GetIIonic(), Maleckar2009OdeSystem(), and SetScaleFactorGNaK().

Scale factor for Gto, set to 1 by the constructor

Definition at line 38 of file Maleckar2009OdeSystem.hpp.

Referenced by EvaluateYDerivatives(), GetIIonic(), Maleckar2009OdeSystem(), and SetScaleFactorIto().


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

Generated by  doxygen 1.6.2