svMultiPhysics
|
This module defines data structures for ten Tusscher-Panfilov epicardial cellular activation model for cardiac electrophysiology. More...
#include <CepModTtp.h>
Public Member Functions | |
void | actv_strn (const double c_Ca, const double I4f, const double dt, double &gf) |
Compute macroscopic fiber strain based on sacromere force-length relationship and calcium concentration. More... | |
void | actv_strs (const double c_Ca, const double dt, double &Tact, double &epsX) |
void | getf (const int i, const int nX, const int nG, const Vector< double > &X, const Vector< double > &Xg, Vector< double > &dX, const double I_stim, const double K_sac, Vector< double > &RPAR) |
Compute currents and time derivatives of state variables. More... | |
void | getj (const int i, const int nX, const int nG, const Vector< double > &X, const Vector< double > &Xg, Array< double > &JAC, const double Ksac) |
void | init (const int imyo, const int nX, const int nG, Vector< double > &X, Vector< double > &Xg) |
void | init (const int imyo, const int nX, const int nG, Vector< double > &X, Vector< double > &Xg, Vector< double > &X0, Vector< double > &Xg0) |
void | integ_cn2 (const int imyo, const int nX, const int nG, Vector< double > &X, Vector< double > &Xg, const double Ts, const double dt, const double Istim, const double Ksac, Vector< int > &IPAR, Vector< double > &RPAR) |
Time integration performed using Crank-Nicholson method. More... | |
void | integ_fe (const int imyo, const int nX, const int nG, Vector< double > &X, Vector< double > &Xg, const double Ts, const double dt, const double Istim, const double Ksac, Vector< double > &RPAR) |
void | integ_rk (const int imyo, const int nX, const int nG, Vector< double > &X, Vector< double > &Xg, const double Ts, const double dt, const double Istim, const double Ksac, Vector< double > &RPAR) |
void | update_g (const int i, const double dt, const int n, const int nG, const Vector< double > &X, Vector< double > &Xg) |
Update all the gating variables. More... | |
Public Attributes | |
double | Rc = 8314.472 |
Gas constant [J/mol/K]. More... | |
double | Tc = 310.0 |
Temperature [K]. More... | |
double | Fc = 96485.3415 |
Faraday constant [C/mmol]. More... | |
double | Cm = 0.185 |
Cell capacitance per unit surface area [uF/cm^{2}]. More... | |
double | sV = 0.2 |
Surface to volume ratio [um^{-1}]. More... | |
double | rho = 162.0 |
Cellular resistivity [ -cm]. More... | |
double | V_c = 16.404E-3 |
Cytoplasmic volume [um^{3}]. More... | |
double | V_sr = 1.094E-3 |
Sacroplasmic reticulum volume [um^{3}]. More... | |
double | V_ss = 5.468E-5 |
Subspace volume [um^{3}]. More... | |
double | K_o = 5.4 |
Extracellular K concentration [mM]. More... | |
double | Na_o = 140.0 |
Extracellular Na concentration [mM]. More... | |
double | Ca_o = 2.0 |
Extracellular Ca concentration [mM]. More... | |
double | G_Na = 14.838 |
Maximal I_Na conductance [nS/pF]. More... | |
double | G_K1 = 5.405 |
Maximal I_K1 conductance [nS/pF]. More... | |
Vector< double > | G_to = {0.294, 0.073, 0.294} |
Maximal epicardial I_to conductance [nS/pF]. More... | |
double | G_Kr = 0.153 |
Maximal I_Kr conductance [nS/pF]. More... | |
Vector< double > | G_Ks = {0.392, 0.392, 0.098} |
Maximal epicardial I_Ks conductance [nS/pF]. More... | |
double | p_KNa = 3.E-2 |
Relative I_Ks permeability to Na [-]. More... | |
double | G_CaL = 3.98E-5 |
Maximal I_CaL conductance [cm^{3}/uF/ms]. More... | |
double | K_NaCa = 1000. |
Maximal I_NaCa [pA/pF]. More... | |
double | gamma = 0.35 |
Voltage dependent parameter of I_NaCa [-]. More... | |
double | K_mCa = 1.38 |
Ca_i half-saturation constant for I_NaCa [mM]. More... | |
double | K_mNai = 87.5 |
Na_i half-saturation constant for I_NaCa [mM]. More... | |
double | K_sat = 0.1 |
Saturation factor for I_NaCa [-]. More... | |
double | alpha = 2.5 |
Factor enhancing outward nature of I_NaCa [-]. More... | |
double | p_NaK = 2.724 |
Maximal I_NaK [pA/pF]. More... | |
double | K_mK = 1. |
K_o half-saturation constant of I_NaK [mM]. More... | |
double | K_mNa = 40. |
Na_i half-saturation constant of I_NaK [mM]. More... | |
double | G_pK = 1.46E-2 |
Maximal I_pK conductance [nS/pF]. More... | |
double | G_pCa = 0.1238 |
Maximal I_pCa conductance [pA/pF]. More... | |
double | K_pCa = 5.E-4 |
Half-saturation constant of I_pCa [mM]. More... | |
double | G_bNa = 2.9E-4 |
Maximal I_bNa conductance [nS/pF]. More... | |
double | G_bCa = 5.92E-4 |
Maximal I_bCa conductance [nS/pF]. More... | |
double | Vmax_up = 6.375E-3 |
Maximal I_up conductance [mM/ms]. More... | |
double | K_up = 2.5E-4 |
Half-saturation constant of I_up [mM]. More... | |
double | V_rel = 0.102 |
Maximal I_rel conductance [mM/ms]. More... | |
double | k1p = 0.15 |
R to O and RI to I, I_rel transition rate [mM^{-2}/ms]. More... | |
double | k2p = 4.5E-2 |
O to I and R to RI, I_rel transition rate [mM^{-1}/ms]. More... | |
double | k3 = 6.E-2 |
O to R and I to RI, I_rel transition rate [ms^{-1}]. More... | |
double | k4 = 5.E-3 |
I to O and Ri to I, I_rel transition rate [ms^{-1}]. More... | |
double | EC = 1.5 |
Ca_sr half-saturation constant of k_casr [mM]. More... | |
double | max_sr = 2.5 |
Maximum value of k_casr [-]. More... | |
double | min_sr = 1. |
Minimum value of k_casr [-]. More... | |
double | V_leak = 3.6E-4 |
Maximal I_leak conductance [mM/ms]. More... | |
double | V_xfer = 3.8E-3 |
Maximal I_xfer conductance [mM/ms]. More... | |
double | Buf_c = 0.2 |
Total cytoplasmic buffer concentration [mM]. More... | |
double | K_bufc = 1.E-3 |
Ca_i half-saturation constant for cytplasmic buffer [mM]. More... | |
double | Buf_sr = 10. |
Total sacroplasmic buffer concentration [mM]. More... | |
double | K_bufsr = 0.3 |
Ca_sr half-saturation constant for subspace buffer [mM]. More... | |
double | Buf_ss = 0.4 |
Total subspace buffer concentration [mM]. More... | |
double | K_bufss = 2.5E-4 |
Ca_ss half-saturation constant for subspace buffer [mM]. More... | |
double | Vrest = -85.23 |
Resting potential [mV]. More... | |
double | Ca_rest = 5.E-5 |
Resting Ca concentration [mM]. More... | |
double | Ca_crit = 8.E-4 |
Critical Ca concentration [mM]. More... | |
double | eta_T = 12.5 |
Saturation of concentration [MPa/mM]. More... | |
double | eps_0 = 0.1 |
Minimum activation [ms^{-1}]. More... | |
double | eps_i = 1. |
Maximum activation [ms^{-1}]. More... | |
double | xi_T = 4.E3 |
Transition rate [mM^{-1}]. More... | |
double | alFa = -4.E6 |
Active force of sacromere [-mM^{-2}]. More... | |
double | c_Ca0 = 2.155E-4 |
Resting Ca concentration [mM]. More... | |
double | mu_Ca = 5.E6 |
Viscous-type constant [ms-mM^{-2}]. More... | |
double | SL0 = 1.95 |
Initial length of sacromeres [um]. More... | |
double | SLmin = 1.7 |
Min. length of sacromeres [um]. More... | |
double | SLmax = 2.6 |
Max. length of sacromeres [um]. More... | |
double | f0 = -4333.618335582119 |
Fourier coefficients. More... | |
double | fc1 = 2570.395355352195 |
double | fs1 = -2051.827278991976 |
double | fc2 = 1329.53611689133 |
double | fs2 = 302.216784558222 |
double | fc3 = 104.943770305116 |
double | fs3 = 218.375174229422 |
double | Vscale = 1. |
Voltage scaling. More... | |
double | Tscale = 1. |
Time scaling. More... | |
double | Voffset = 0. |
Voltage offset parameter. More... | |
double | E_Na |
Reverse potentials for Na, K, Ca. More... | |
double | E_K |
double | E_Ca |
double | E_Ks |
double | I_Na |
Fast sodium current. More... | |
double | I_K1 |
inward rectifier outward current More... | |
double | I_to |
transient outward current More... | |
double | I_Kr |
rapid delayed rectifier current More... | |
double | I_Ks |
slow delayed rectifier current More... | |
double | I_CaL |
L-type Ca current. More... | |
double | I_NaCa |
Na-Ca exchanger current. More... | |
double | I_NaK |
Na-K pump current. More... | |
double | I_pCa |
plateau Ca current More... | |
double | I_pK |
plateau K current More... | |
double | I_bCa |
background Ca current More... | |
double | I_bNa |
background Na current More... | |
double | I_leak |
sacroplasmic reticulum Ca leak current More... | |
double | I_up |
sacroplasmic reticulum Ca pump current More... | |
double | I_rel |
Ca induced Ca release current. More... | |
double | I_xfer |
diffusive Ca current More... | |
double | V |
double | K_i |
double | Na_i |
double | Ca_i |
double | Ca_ss |
double | Ca_sr |
double | R_bar |
double | xr1 |
double | xr1i |
double | xr2 |
double | xr2i |
double | xs |
double | xsi |
double | m |
double | mi |
double | h |
double | hi |
double | j |
double | ji |
double | d |
double | di |
double | f |
double | fi |
double | f2 |
double | f2i |
double | fcass |
double | fcassi |
double | s |
double | si |
double | r |
double | ri |
double | k1 |
double | k2 |
double | k_casr |
double | O |
double | E_Na_Nai |
double | E_K_Ki |
double | E_Ca_Cai |
double | E_Ks_Ki |
double | E_Ks_Nai |
double | I_Na_V |
double | I_Na_Nai |
double | I_to_V |
double | I_to_Ki |
double | I_K1_V |
double | I_K1_Ki |
double | I_Kr_V |
double | I_Kr_Ki |
double | I_Ks_V |
double | I_Ks_Ki |
double | I_Ks_Nai |
double | I_CaL_V |
double | I_CaL_Cass |
double | I_NaCa_V |
double | I_NaCa_Nai |
double | I_NaCa_Cai |
double | I_NaK_V |
double | I_NaK_Nai |
double | I_pCa_Cai |
double | I_pK_V |
double | I_pK_Ki |
double | I_bCa_V |
double | I_bCa_Cai |
double | I_bNa_V |
double | I_bNa_Nai |
double | I_leak_Cai |
double | I_leak_Casr |
double | I_up_Cai |
double | I_rel_Cass |
double | I_rel_Casr |
double | I_rel_Rbar |
double | I_xfer_Cai |
double | I_xfer_Cass |
double | k_casr_sr |
double | k1_casr |
double | O_Casr |
double | O_Cass |
double | O_Rbar |
This module defines data structures for ten Tusscher-Panfilov epicardial cellular activation model for cardiac electrophysiology.
The classes defined here duplicate the data structures in the Fortran TPPMOD module defined in CEPMOD_TTP.f and PARAMS_TPP.f files.
void CepModTtp::actv_strn | ( | const double | c_Ca, |
const double | I4f, | ||
const double | dt, | ||
double & | gf | ||
) |
Compute macroscopic fiber strain based on sacromere force-length relationship and calcium concentration.
void CepModTtp::getf | ( | const int | i, |
const int | nX, | ||
const int | nG, | ||
const Vector< double > & | X, | ||
const Vector< double > & | Xg, | ||
Vector< double > & | dX, | ||
const double | I_stim, | ||
const double | K_sac, | ||
Vector< double > & | RPAR | ||
) |
Compute currents and time derivatives of state variables.
Note that is 'i' the myocardium zone id: 1, 2 or 3.
Reproduces Fortran 'GETF()'.
void CepModTtp::integ_cn2 | ( | const int | imyo, |
const int | nX, | ||
const int | nG, | ||
Vector< double > & | X, | ||
Vector< double > & | Xg, | ||
const double | Ts, | ||
const double | dt, | ||
const double | Istim, | ||
const double | Ksac, | ||
Vector< int > & | IPAR, | ||
Vector< double > & | RPAR | ||
) |
Time integration performed using Crank-Nicholson method.
void CepModTtp::update_g | ( | const int | i, |
const double | dt, | ||
const int | n, | ||
const int | nG, | ||
const Vector< double > & | X, | ||
Vector< double > & | Xg | ||
) |
Update all the gating variables.
double CepModTtp::alFa = -4.E6 |
Active force of sacromere [-mM^{-2}].
double CepModTtp::alpha = 2.5 |
Factor enhancing outward nature of I_NaCa [-].
double CepModTtp::Buf_c = 0.2 |
Total cytoplasmic buffer concentration [mM].
double CepModTtp::Buf_sr = 10. |
Total sacroplasmic buffer concentration [mM].
double CepModTtp::Buf_ss = 0.4 |
Total subspace buffer concentration [mM].
double CepModTtp::c_Ca0 = 2.155E-4 |
Resting Ca concentration [mM].
double CepModTtp::Ca_crit = 8.E-4 |
Critical Ca concentration [mM].
double CepModTtp::Ca_o = 2.0 |
Extracellular Ca concentration [mM].
double CepModTtp::Ca_rest = 5.E-5 |
Resting Ca concentration [mM].
double CepModTtp::Cm = 0.185 |
Cell capacitance per unit surface area [uF/cm^{2}].
double CepModTtp::E_Na |
Reverse potentials for Na, K, Ca.
double CepModTtp::EC = 1.5 |
Ca_sr half-saturation constant of k_casr [mM].
double CepModTtp::eps_0 = 0.1 |
Minimum activation [ms^{-1}].
double CepModTtp::eps_i = 1. |
Maximum activation [ms^{-1}].
double CepModTtp::eta_T = 12.5 |
Saturation of concentration [MPa/mM].
double CepModTtp::f0 = -4333.618335582119 |
Fourier coefficients.
double CepModTtp::Fc = 96485.3415 |
Faraday constant [C/mmol].
double CepModTtp::G_bCa = 5.92E-4 |
Maximal I_bCa conductance [nS/pF].
double CepModTtp::G_bNa = 2.9E-4 |
Maximal I_bNa conductance [nS/pF].
double CepModTtp::G_CaL = 3.98E-5 |
Maximal I_CaL conductance [cm^{3}/uF/ms].
double CepModTtp::G_K1 = 5.405 |
Maximal I_K1 conductance [nS/pF].
double CepModTtp::G_Kr = 0.153 |
Maximal I_Kr conductance [nS/pF].
Vector<double> CepModTtp::G_Ks = {0.392, 0.392, 0.098} |
Maximal epicardial I_Ks conductance [nS/pF].
double CepModTtp::G_Na = 14.838 |
Maximal I_Na conductance [nS/pF].
double CepModTtp::G_pCa = 0.1238 |
Maximal I_pCa conductance [pA/pF].
double CepModTtp::G_pK = 1.46E-2 |
Maximal I_pK conductance [nS/pF].
Vector<double> CepModTtp::G_to = {0.294, 0.073, 0.294} |
Maximal epicardial I_to conductance [nS/pF].
double CepModTtp::gamma = 0.35 |
Voltage dependent parameter of I_NaCa [-].
double CepModTtp::I_bCa |
background Ca current
double CepModTtp::I_bNa |
background Na current
double CepModTtp::I_CaL |
L-type Ca current.
double CepModTtp::I_K1 |
inward rectifier outward current
double CepModTtp::I_Kr |
rapid delayed rectifier current
double CepModTtp::I_Ks |
slow delayed rectifier current
double CepModTtp::I_leak |
sacroplasmic reticulum Ca leak current
double CepModTtp::I_Na |
Fast sodium current.
double CepModTtp::I_NaCa |
Na-Ca exchanger current.
double CepModTtp::I_NaK |
Na-K pump current.
double CepModTtp::I_pCa |
plateau Ca current
double CepModTtp::I_pK |
plateau K current
double CepModTtp::I_rel |
Ca induced Ca release current.
double CepModTtp::I_to |
transient outward current
double CepModTtp::I_up |
sacroplasmic reticulum Ca pump current
double CepModTtp::I_xfer |
diffusive Ca current
double CepModTtp::k1p = 0.15 |
R to O and RI to I, I_rel transition rate [mM^{-2}/ms].
double CepModTtp::k2p = 4.5E-2 |
O to I and R to RI, I_rel transition rate [mM^{-1}/ms].
double CepModTtp::k3 = 6.E-2 |
O to R and I to RI, I_rel transition rate [ms^{-1}].
double CepModTtp::k4 = 5.E-3 |
I to O and Ri to I, I_rel transition rate [ms^{-1}].
double CepModTtp::K_bufc = 1.E-3 |
Ca_i half-saturation constant for cytplasmic buffer [mM].
double CepModTtp::K_bufsr = 0.3 |
Ca_sr half-saturation constant for subspace buffer [mM].
double CepModTtp::K_bufss = 2.5E-4 |
Ca_ss half-saturation constant for subspace buffer [mM].
double CepModTtp::K_mCa = 1.38 |
Ca_i half-saturation constant for I_NaCa [mM].
double CepModTtp::K_mK = 1. |
K_o half-saturation constant of I_NaK [mM].
double CepModTtp::K_mNa = 40. |
Na_i half-saturation constant of I_NaK [mM].
double CepModTtp::K_mNai = 87.5 |
Na_i half-saturation constant for I_NaCa [mM].
double CepModTtp::K_NaCa = 1000. |
Maximal I_NaCa [pA/pF].
double CepModTtp::K_o = 5.4 |
Extracellular K concentration [mM].
double CepModTtp::K_pCa = 5.E-4 |
Half-saturation constant of I_pCa [mM].
double CepModTtp::K_sat = 0.1 |
Saturation factor for I_NaCa [-].
double CepModTtp::K_up = 2.5E-4 |
Half-saturation constant of I_up [mM].
double CepModTtp::max_sr = 2.5 |
Maximum value of k_casr [-].
double CepModTtp::min_sr = 1. |
Minimum value of k_casr [-].
double CepModTtp::mu_Ca = 5.E6 |
Viscous-type constant [ms-mM^{-2}].
double CepModTtp::Na_o = 140.0 |
Extracellular Na concentration [mM].
double CepModTtp::p_KNa = 3.E-2 |
Relative I_Ks permeability to Na [-].
double CepModTtp::p_NaK = 2.724 |
Maximal I_NaK [pA/pF].
double CepModTtp::Rc = 8314.472 |
Gas constant [J/mol/K].
double CepModTtp::rho = 162.0 |
Cellular resistivity [ -cm].
double CepModTtp::SL0 = 1.95 |
Initial length of sacromeres [um].
double CepModTtp::SLmax = 2.6 |
Max. length of sacromeres [um].
double CepModTtp::SLmin = 1.7 |
Min. length of sacromeres [um].
double CepModTtp::sV = 0.2 |
Surface to volume ratio [um^{-1}].
double CepModTtp::Tc = 310.0 |
Temperature [K].
double CepModTtp::Tscale = 1. |
Time scaling.
double CepModTtp::V_c = 16.404E-3 |
Cytoplasmic volume [um^{3}].
double CepModTtp::V_leak = 3.6E-4 |
Maximal I_leak conductance [mM/ms].
double CepModTtp::V_rel = 0.102 |
Maximal I_rel conductance [mM/ms].
double CepModTtp::V_sr = 1.094E-3 |
Sacroplasmic reticulum volume [um^{3}].
double CepModTtp::V_ss = 5.468E-5 |
Subspace volume [um^{3}].
double CepModTtp::V_xfer = 3.8E-3 |
Maximal I_xfer conductance [mM/ms].
double CepModTtp::Vmax_up = 6.375E-3 |
Maximal I_up conductance [mM/ms].
double CepModTtp::Voffset = 0. |
Voltage offset parameter.
double CepModTtp::Vrest = -85.23 |
Resting potential [mV].
double CepModTtp::Vscale = 1. |
Voltage scaling.
double CepModTtp::xi_T = 4.E3 |
Transition rate [mM^{-1}].