//============================================================================== // CellML file: D:\ICC\ICC_model.cellml // CellML model: ICC_model // Date and time: 4/21/2008 at 1:36:00 at PM //------------------------------------------------------------------------------ // Conversion from CellML 1.0 to C (header) was done using COR (0.9.31.781) // Copyright 2002-2008 Dr Alan Garny // http://COR.physiol.ox.ac.uk/ - COR@physiol.ox.ac.uk //------------------------------------------------------------------------------ // http://www.CellML.org/ //============================================================================== #ifndef __ICC_MODEL_H__ #define __ICC_MODEL_H__ //------------------------------------------------------------------------------ // State variables //------------------------------------------------------------------------------ #define _NB_OF_STATE_VARIABLES_ 22 extern double Y[_NB_OF_STATE_VARIABLES_]; extern double dY[_NB_OF_STATE_VARIABLES_]; // 0: ICC_Membrane___Ca_i (millimolar) // 1: ICC_Membrane___Vm (voltage_units) // 2: PU_unit___ADP_i (millimolar) // 3: PU_unit___ADP_m (millimolar) // 4: PU_unit___Ca_ER (millimolar) // 5: PU_unit___Ca_PU (millimolar) // 6: PU_unit___Ca_m (millimolar) // 7: PU_unit___NADH_m (millimolar) // 8: PU_unit___deltaPsi (voltage_units) // 9: PU_unit___h (dimensionless) // 10: d_CaCl___d_CaCl (dimensionless) // 11: d_ERG___d_ERG (dimensionless) // 12: d_Ltype___d_Ltype (dimensionless) // 13: d_NSCC___d_NSCC (dimensionless) // 14: d_Na___d_Na (dimensionless) // 15: d_VDDR___d_VDDR (dimensionless) // 16: d_kv11___d_kv11 (dimensionless) // 17: f_Ltype___f_Ltype (dimensionless) // 18: f_Na___f_Na (dimensionless) // 19: f_VDDR___f_VDDR (dimensionless) // 20: f_ca_Ltype___f_ca_Ltype (dimensionless) // 21: f_kv11___f_kv11 (dimensionless) //------------------------------------------------------------------------------ // Constants //------------------------------------------------------------------------------ extern double Environment___Ca_o; // millimolar extern double Environment___Cl_o; // millimolar extern double Environment___F; // F_units extern double Environment___K_o; // millimolar extern double Environment___Na_o; // millimolar extern double Environment___Q10Ca; // dimensionless extern double Environment___Q10K; // dimensionless extern double Environment___Q10Na; // dimensionless extern double Environment___R; // R_units extern double Environment___T; // Temperature_units extern double Environment___T_exp; // Temperature_units extern double ICC_Membrane___Cl_i; // millimolar extern double ICC_Membrane___Cm; // capacitance_units extern double ICC_Membrane___K_i; // millimolar extern double ICC_Membrane___Na_i; // millimolar extern double ICC_Membrane___P_cyto; // dimensionless extern double ICC_Membrane___Vol; // volume_units extern double ICC_Membrane___fc; // dimensionless extern double I_BK___G_max_BK; // conductance_units extern double I_CaCl___G_max_CaCl; // conductance_units extern double I_ERG___G_max_ERG; // conductance_units extern double I_Ltype___G_max_Ltype; // conductance_units extern double I_NSCC___G_max_NSCC; // conductance_units extern double I_NSCC___NaPerm_o_Kperm; // dimensionless extern double I_Na___G_max_Na; // conductance_units extern double I_VDDR___G_max_VDDR; // conductance_units extern double I_bk___G_max_bk; // conductance_units extern double I_kv11___G_max_kv11; // conductance_units extern double J_PMCA___J_max_PMCA; // millimolar_per_second extern double PU_unit___Cmito; // millifarads extern double PU_unit___Glc; // millimolar extern double PU_unit___IP3; // millimolar extern double PU_unit___J_ERleak; // rate_constants_units extern double PU_unit___J_hyd_max; // millimolar_per_second extern double PU_unit___J_max_leak; // rate_constants_units extern double PU_unit___J_red_basal; // millimolar_per_second extern double PU_unit___Jmax_ANT; // millimolar_per_second extern double PU_unit___Jmax_IP3; // rate_constants_units extern double PU_unit___Jmax_NaCa; // millimolar_per_second extern double PU_unit___Jmax_serca; // millimolar_per_second extern double PU_unit___Jmax_uni; // rate_constants_units extern double PU_unit___KCa_PDH; // millimolar extern double PU_unit___K_Ca; // millimolar extern double PU_unit___K_F1; // millimolar extern double PU_unit___K_Glc; // millimolar extern double PU_unit___K_Na; // millimolar extern double PU_unit___K_act; // millimolar extern double PU_unit___K_hyd; // rate_constants_units extern double PU_unit___K_res; // dimensionless extern double PU_unit___K_trans; // millimolar extern double PU_unit___L; // dimensionless extern double PU_unit___P_ER; // dimensionless extern double PU_unit___P_PU; // dimensionless extern double PU_unit___P_mito; // dimensionless extern double PU_unit___Pi_m; // millimolar extern double PU_unit___b; // dimensionless extern double PU_unit___beta1; // per_millimolar extern double PU_unit___beta2; // per_millimolar extern double PU_unit___beta3; // per_millimolar extern double PU_unit___beta4; // per_millimolar extern double PU_unit___beta5; // per_millimolar extern double PU_unit___beta6; // per_millimolar extern double PU_unit___beta7; // per_millimolar extern double PU_unit___beta_max; // rate_constants_units extern double PU_unit___conc; // millimolar extern double PU_unit___d_ACT; // millimolar extern double PU_unit___d_INH; // millimolar extern double PU_unit___d_IP3; // millimolar extern double PU_unit___deltaPsi_B; // voltage_units extern double PU_unit___deltaPsi_star; // voltage_units extern double PU_unit___deltapH; // dimensionless extern double PU_unit___fe; // dimensionless extern double PU_unit___fm; // dimensionless extern double PU_unit___frac; // dimensionless extern double PU_unit___g; // dimensionless extern double PU_unit___g_H; // millimolar_per_second_per_millivolt extern double PU_unit___k_serca; // millimolar extern double PU_unit___n; // dimensionless extern double PU_unit___na; // dimensionless extern double PU_unit___nhyd; // dimensionless extern double PU_unit___p1; // dimensionless extern double PU_unit___p2; // dimensionless extern double PU_unit___p3; // dimensionless extern double PU_unit___pa; // rate_constants_units extern double PU_unit___pb; // rate_constants_units extern double PU_unit___pc1; // rate_constants_units extern double PU_unit___pc2; // rate_constants_units extern double PU_unit___r1; // dimensionless extern double PU_unit___r2; // dimensionless extern double PU_unit___r3; // dimensionless extern double PU_unit___ra; // rate_constants_units extern double PU_unit___rb; // rate_constants_units extern double PU_unit___rc1; // rate_constants_units extern double PU_unit___rc2; // rate_constants_units extern double PU_unit___rho_F1; // millimolar extern double PU_unit___rho_res; // millimolar extern double PU_unit___tauh; // time_units extern double PU_unit___total_ANP_i; // millimolar extern double PU_unit___total_ANP_m; // millimolar extern double PU_unit___total_NAD_m; // millimolar extern double PU_unit___u1; // dimensionless extern double PU_unit___u2; // dimensionless extern double d_CaCl___tau_d_CaCl; // time_units extern double d_NSCC___tau_d_NSCC; // time_units //------------------------------------------------------------------------------ // Computed variables //------------------------------------------------------------------------------ extern double Environment___FoRT; // Inverse_Voltage_units extern double Environment___RToF; // voltage_units extern double Environment___T_correction_BK; // conductance_units extern double Environment___T_correction_Ca; // dimensionless extern double Environment___T_correction_K; // dimensionless extern double Environment___T_correction_Na; // dimensionless extern double ICC_Membrane___V_cyto; // volume_units extern double I_BK___E_K; // voltage_units extern double I_BK___I_BK; // current_units extern double I_CaCl___E_Cl; // voltage_units extern double I_CaCl___I_CaCl; // current_units extern double I_ERG___E_K; // voltage_units extern double I_ERG___I_ERG; // current_units extern double I_Ltype___E_Ca; // voltage_units extern double I_Ltype___I_Ltype; // current_units extern double I_NSCC___E_NSCC; // voltage_units extern double I_NSCC___I_NSCC; // current_units extern double I_Na___E_Na; // voltage_units extern double I_Na___I_Na; // current_units extern double I_VDDR___E_Ca; // voltage_units extern double I_VDDR___I_VDDR; // current_units extern double I_bk___E_K; // voltage_units extern double I_bk___I_bk; // current_units extern double I_kv11___E_K; // voltage_units extern double I_kv11___I_kv11; // current_units extern double J_PMCA___J_PMCA; // millimolar_per_second extern double PU_unit___ADP3_i; // millimolar extern double PU_unit___ADP3_m; // millimolar extern double PU_unit___ADP_ifree; // millimolar extern double PU_unit___ADP_mfree; // millimolar extern double PU_unit___ATP4_i; // millimolar extern double PU_unit___ATP4_m; // millimolar extern double PU_unit___ATP_i; // millimolar extern double PU_unit___ATP_m; // millimolar extern double PU_unit___A_F1; // voltage_units extern double PU_unit___A_res; // voltage_units extern double PU_unit___J_ANT; // millimolar_per_second extern double PU_unit___J_ERout; // millimolar_per_second extern double PU_unit___J_HF1; // millimolar_per_second extern double PU_unit___J_Hleak; // millimolar_per_second extern double PU_unit___J_Hres; // millimolar_per_second extern double PU_unit___J_NaCa; // millimolar_per_second extern double PU_unit___J_SERCA; // millimolar_per_second extern double PU_unit___J_glyTotal; // millimolar_per_second extern double PU_unit___J_hyd; // millimolar_per_second extern double PU_unit___J_hydSS; // millimolar_per_second extern double PU_unit___J_leak; // millimolar_per_second extern double PU_unit___J_o; // millimolar_per_second extern double PU_unit___J_pF1; // millimolar_per_second extern double PU_unit___J_pGly; // millimolar_per_second extern double PU_unit___J_pTCA; // millimolar_per_second extern double PU_unit___J_red; // millimolar_per_second extern double PU_unit___J_uni; // millimolar_per_second extern double PU_unit___MWC; // millimolar extern double PU_unit___MgADP_i; // millimolar extern double PU_unit___NAD_m; // millimolar extern double PU_unit___PMF; // voltage_units extern double PU_unit___V_ER; // volume_units extern double PU_unit___V_MITO; // volume_units extern double PU_unit___V_PU; // volume_units extern double PU_unit___f_PDHa; // dimensionless extern double d_BK___d_BK; // dimensionless extern double d_CaCl___d_inf_CaCl; // dimensionless extern double d_ERG___d_inf_ERG; // dimensionless extern double d_ERG___tau_d_ERG; // time_units extern double d_Ltype___d_inf_Ltype; // dimensionless extern double d_Ltype___tau_d_Ltype; // time_units extern double d_NSCC___d_inf_NSCC; // dimensionless extern double d_Na___d_inf_Na; // dimensionless extern double d_Na___tau_d_Na; // time_units extern double d_VDDR___d_inf_VDDR; // dimensionless extern double d_VDDR___tau_d_VDDR; // time_units extern double d_kv11___d_inf_kv11; // dimensionless extern double d_kv11___tau_d_kv11; // time_units extern double f_Ltype___f_inf_Ltype; // dimensionless extern double f_Ltype___tau_f_Ltype; // time_units extern double f_Na___f_inf_Na; // dimensionless extern double f_Na___tau_f_Na; // time_units extern double f_VDDR___f_inf_VDDR; // dimensionless extern double f_VDDR___tau_f_VDDR; // time_units extern double f_ca_Ltype___f_ca_inf_Ltype; // dimensionless extern double f_ca_Ltype___tau_f_ca_Ltype; // time_units extern double f_kv11___f_inf_kv11; // dimensionless extern double f_kv11___tau_f_kv11; // time_units //------------------------------------------------------------------------------ // Procedures //------------------------------------------------------------------------------ extern void init(); extern void compute(double t); //------------------------------------------------------------------------------ #endif //============================================================================== // End of file //==============================================================================