00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef _DIFRANCESCONOBLE1985ODESYSTEM_HPP_
00029 #define _DIFRANCESCONOBLE1985ODESYSTEM_HPP_
00030
00031 #include "AbstractCardiacCell.hpp"
00032 #include "AbstractStimulusFunction.hpp"
00033 #include <vector>
00034
00039 class DiFrancescoNoble1985OdeSystem : public AbstractCardiacCell
00040 {
00041 private:
00042
00043
00044 static const double membrane_C = 75;
00045 static const double radius = 0.05;
00046 static const double length = 2;
00047 static const double V_e_ratio=0.1;
00048 static const double R=8314.472;
00049 static const double T=310;
00050 static const double F=96485.3415;
00051
00052
00053 static const double g_fna = 3;
00054 static const double g_fk = 3;
00055 static const double g_na_b = 0.18;
00056 static const double g_ca_b = 0.02;
00057 static const double g_na = 750.0;
00058 static const double g_k1 = 920;
00059 static double const g_to = 0.28;
00060 static const double I_P = 125;
00061 static const double i_kmax = 180;
00062 static const double k_naca=0.02;
00063 static const double P_si=15.0;
00064
00065 static const double Nao = 140;
00066 static const double Cao = 2;
00067 static const double Kb = 4;
00068 static const double Kmf= 45;
00069 static const double Km1= 210;
00070 static const double Kmto= 10;
00071 static const double KmK= 1;
00072 static const double KmNa=40;
00073 static const double Kmf2=0.001;
00074 static const double KmCa=0.001;
00075 static const double Km_Ca=0.0005;
00076
00077 static const double n_naca=3;
00078 static const double gamma=0.5;
00079 static const double d_naca=0.001;
00080 static const double rCa=2.0;
00081 static const double tau_up=0.025;
00082 static const double tau_rep=2;
00083 static const double tau_rel=0.05;
00084 static const double Ca_up_max=5;
00085 static const double pf=0.0007;
00086 static const double Vecs=0.05;
00087
00088 double Vi, Vup, Vrel, Ve;
00089 double Vcell;
00090 double RToNF;
00096 void VerifyStateVariables();
00097
00098 public:
00099
00100 DiFrancescoNoble1985OdeSystem(AbstractIvpOdeSolver *pSolver,
00101 AbstractStimulusFunction *pIntracellularStimulus);
00102
00103
00104 ~DiFrancescoNoble1985OdeSystem();
00105
00106
00107 void EvaluateYDerivatives(double time, const std::vector<double> &rY, std::vector<double> &rDY);
00108
00109 double GetIIonic();
00110
00111 };
00112
00113 #endif // _DIFRANCESCONOBLE_HPP_