45 "Pandit-Giles-Demir 2003 cell model.");
62 for (
size_t i = 0; i <
m_nq; ++i)
66 NekDouble var_chaste_interface__membrane__V = inarray[0][i];
68 NekDouble var_chaste_interface__sodium_current_m_gate__m =
71 NekDouble var_chaste_interface__sodium_current_h_gate__h =
74 NekDouble var_chaste_interface__sodium_current_j_gate__j =
77 NekDouble var_chaste_interface__L_type_Ca_channel_d_gate__d =
80 NekDouble var_chaste_interface__L_type_Ca_channel_f_11_gate__f_11 =
83 NekDouble var_chaste_interface__L_type_Ca_channel_f_12_gate__f_12 =
87 var_chaste_interface__L_type_Ca_channel_Ca_inact_gate__Ca_inact =
91 var_chaste_interface__Ca_independent_transient_outward_K_current_r_gate__r =
95 var_chaste_interface__Ca_independent_transient_outward_K_current_s_gate__s =
99 var_chaste_interface__Ca_independent_transient_outward_K_current_s_slow_gate__s_slow =
103 var_chaste_interface__steady_state_outward_K_current_r_ss_gate__r_ss =
107 var_chaste_interface__steady_state_outward_K_current_s_ss_gate__s_ss =
111 var_chaste_interface__hyperpolarisation_activated_current_y_gate__y =
114 NekDouble var_chaste_interface__SR_Ca_release_channel__P_O1 =
117 NekDouble var_chaste_interface__SR_Ca_release_channel__P_O2 =
120 NekDouble var_chaste_interface__SR_Ca_release_channel__P_C1 =
123 NekDouble var_chaste_interface__SR_Ca_release_channel__P_C2 =
127 var_chaste_interface__intracellular_and_SR_Ca_fluxes__HTRPNCa =
131 var_chaste_interface__intracellular_and_SR_Ca_fluxes__LTRPNCa =
134 NekDouble var_chaste_interface__intracellular_ion_concentrations__Na_i =
137 NekDouble var_chaste_interface__intracellular_ion_concentrations__Ca_i =
140 NekDouble var_chaste_interface__intracellular_ion_concentrations__K_i =
144 var_chaste_interface__intracellular_ion_concentrations__Ca_ss =
148 var_chaste_interface__intracellular_ion_concentrations__Ca_JSR =
152 var_chaste_interface__intracellular_ion_concentrations__Ca_NSR =
157 NekDouble d_dt_chaste_interface__membrane__V;
158 const NekDouble var_membrane__R = 8314.5;
160 const NekDouble var_membrane__F = 96487.0;
163 const NekDouble var_standard_ionic_concentrations__Na_o =
165 const NekDouble var_sodium_current__Na_o =
166 var_standard_ionic_concentrations__Na_o;
167 const NekDouble var_sodium_current__T = var_membrane__T;
170 const NekDouble var_sodium_current__Na_i =
171 var_chaste_interface__intracellular_ion_concentrations__Na_i;
172 const NekDouble var_sodium_current__E_Na =
173 ((var_sodium_current__R * var_sodium_current__T) /
174 var_sodium_current__F) *
175 log(var_sodium_current__Na_o /
176 var_sodium_current__Na_i);
178 var_chaste_interface__sodium_current_m_gate__m;
180 var_chaste_interface__sodium_current_j_gate__j;
182 var_chaste_interface__sodium_current_h_gate__h;
184 var_chaste_interface__membrane__V;
185 const NekDouble var_sodium_current__g_Na = 1.064;
186 const NekDouble var_sodium_current__i_Na =
187 var_sodium_current__g_Na * pow(var_sodium_current__m, 3.0) *
188 var_sodium_current__h * var_sodium_current__j *
189 (var_sodium_current__V - var_sodium_current__E_Na);
190 const NekDouble var_L_type_Ca_channel__d =
191 var_chaste_interface__L_type_Ca_channel_d_gate__d;
192 const NekDouble var_L_type_Ca_channel__E_Ca_L = 65.0;
193 const NekDouble var_L_type_Ca_channel__g_Ca_L_normal = 0.0341;
194 const NekDouble var_membrane__Diabetes = 0.0;
195 const NekDouble var_L_type_Ca_channel__Diabetes =
196 var_membrane__Diabetes;
197 const NekDouble var_L_type_Ca_channel__g_Ca_L =
198 (var_L_type_Ca_channel__Diabetes == 0.0)
199 ? var_L_type_Ca_channel__g_Ca_L_normal
200 : (0.76 * var_L_type_Ca_channel__g_Ca_L_normal);
201 const NekDouble var_L_type_Ca_channel__f_12 =
202 var_chaste_interface__L_type_Ca_channel_f_12_gate__f_12;
203 const NekDouble var_L_type_Ca_channel__f_11 =
204 var_chaste_interface__L_type_Ca_channel_f_11_gate__f_11;
205 const NekDouble var_L_type_Ca_channel__V =
206 var_chaste_interface__membrane__V;
207 const NekDouble var_L_type_Ca_channel__Ca_inact =
208 var_chaste_interface__L_type_Ca_channel_Ca_inact_gate__Ca_inact;
209 const NekDouble var_L_type_Ca_channel__i_Ca_L =
210 var_L_type_Ca_channel__g_Ca_L * var_L_type_Ca_channel__d *
211 (((0.9 + (var_L_type_Ca_channel__Ca_inact / 10.0)) *
212 var_L_type_Ca_channel__f_11) +
213 ((0.1 - (var_L_type_Ca_channel__Ca_inact / 10.0)) *
214 var_L_type_Ca_channel__f_12)) *
215 (var_L_type_Ca_channel__V - var_L_type_Ca_channel__E_Ca_L);
217 var_Ca_independent_transient_outward_K_current__Diabetes =
218 var_membrane__Diabetes;
219 const NekDouble var_Ca_independent_transient_outward_K_current__b =
220 (var_Ca_independent_transient_outward_K_current__Diabetes == 0.0)
223 const NekDouble var_Ca_independent_transient_outward_K_current__a =
225 var_Ca_independent_transient_outward_K_current__b;
227 var_Ca_independent_transient_outward_K_current__g_t_normal =
229 const NekDouble var_Ca_independent_transient_outward_K_current__g_t =
230 (var_Ca_independent_transient_outward_K_current__Diabetes == 0.0)
231 ? var_Ca_independent_transient_outward_K_current__g_t_normal
233 var_Ca_independent_transient_outward_K_current__g_t_normal);
234 const NekDouble var_Ca_independent_transient_outward_K_current__V =
235 var_chaste_interface__membrane__V;
236 const NekDouble var_Ca_independent_transient_outward_K_current__r =
237 var_chaste_interface__Ca_independent_transient_outward_K_current_r_gate__r;
238 const NekDouble var_Ca_independent_transient_outward_K_current__s =
239 var_chaste_interface__Ca_independent_transient_outward_K_current_s_gate__s;
240 const NekDouble var_Ca_independent_transient_outward_K_current__F =
242 const NekDouble var_Ca_independent_transient_outward_K_current__T =
244 const NekDouble var_Ca_independent_transient_outward_K_current__K_i =
245 var_chaste_interface__intracellular_ion_concentrations__K_i;
246 const NekDouble var_Ca_independent_transient_outward_K_current__R =
248 const NekDouble var_standard_ionic_concentrations__K_o =
250 const NekDouble var_Ca_independent_transient_outward_K_current__K_o =
251 var_standard_ionic_concentrations__K_o;
252 const NekDouble var_Ca_independent_transient_outward_K_current__E_K =
253 ((var_Ca_independent_transient_outward_K_current__R *
254 var_Ca_independent_transient_outward_K_current__T) /
255 var_Ca_independent_transient_outward_K_current__F) *
256 log(var_Ca_independent_transient_outward_K_current__K_o /
257 var_Ca_independent_transient_outward_K_current__K_i);
258 const NekDouble var_Ca_independent_transient_outward_K_current__s_slow =
259 var_chaste_interface__Ca_independent_transient_outward_K_current_s_slow_gate__s_slow;
260 const NekDouble var_Ca_independent_transient_outward_K_current__i_t =
261 var_Ca_independent_transient_outward_K_current__g_t *
262 var_Ca_independent_transient_outward_K_current__r *
263 ((var_Ca_independent_transient_outward_K_current__a *
264 var_Ca_independent_transient_outward_K_current__s) +
265 (var_Ca_independent_transient_outward_K_current__b *
266 var_Ca_independent_transient_outward_K_current__s_slow)) *
267 (var_Ca_independent_transient_outward_K_current__V -
268 var_Ca_independent_transient_outward_K_current__E_K);
269 const NekDouble var_steady_state_outward_K_current__V =
270 var_chaste_interface__membrane__V;
271 const NekDouble var_steady_state_outward_K_current__s_ss =
272 var_chaste_interface__steady_state_outward_K_current_s_ss_gate__s_ss;
273 const NekDouble var_steady_state_outward_K_current__E_K =
274 var_Ca_independent_transient_outward_K_current__E_K;
275 const NekDouble var_steady_state_outward_K_current__g_ss_normal =
277 const NekDouble var_steady_state_outward_K_current__Diabetes =
278 var_membrane__Diabetes;
279 const NekDouble var_steady_state_outward_K_current__g_ss =
280 (var_steady_state_outward_K_current__Diabetes == 0.0)
281 ? var_steady_state_outward_K_current__g_ss_normal
283 var_steady_state_outward_K_current__g_ss_normal);
284 const NekDouble var_steady_state_outward_K_current__r_ss =
285 var_chaste_interface__steady_state_outward_K_current_r_ss_gate__r_ss;
286 const NekDouble var_steady_state_outward_K_current__i_ss =
287 var_steady_state_outward_K_current__g_ss *
288 var_steady_state_outward_K_current__r_ss *
289 var_steady_state_outward_K_current__s_ss *
290 (var_steady_state_outward_K_current__V -
291 var_steady_state_outward_K_current__E_K);
292 const NekDouble var_hyperpolarisation_activated_current__f_Na =
294 const NekDouble var_hyperpolarisation_activated_current__E_Na =
295 var_sodium_current__E_Na;
296 const NekDouble var_hyperpolarisation_activated_current__y =
297 var_chaste_interface__hyperpolarisation_activated_current_y_gate__y;
298 const NekDouble var_hyperpolarisation_activated_current__V =
299 var_chaste_interface__membrane__V;
300 const NekDouble var_hyperpolarisation_activated_current__g_f =
302 const NekDouble var_hyperpolarisation_activated_current__i_f_Na =
303 var_hyperpolarisation_activated_current__g_f *
304 var_hyperpolarisation_activated_current__y *
305 var_hyperpolarisation_activated_current__f_Na *
306 (var_hyperpolarisation_activated_current__V -
307 var_hyperpolarisation_activated_current__E_Na);
308 const NekDouble var_hyperpolarisation_activated_current__f_K =
310 var_hyperpolarisation_activated_current__f_Na;
311 const NekDouble var_hyperpolarisation_activated_current__E_K =
312 var_Ca_independent_transient_outward_K_current__E_K;
313 const NekDouble var_hyperpolarisation_activated_current__i_f_K =
314 var_hyperpolarisation_activated_current__g_f *
315 var_hyperpolarisation_activated_current__y *
316 var_hyperpolarisation_activated_current__f_K *
317 (var_hyperpolarisation_activated_current__V -
318 var_hyperpolarisation_activated_current__E_K);
319 const NekDouble var_inward_rectifier__T = var_membrane__T;
320 const NekDouble var_inward_rectifier__V =
321 var_chaste_interface__membrane__V;
322 const NekDouble var_inward_rectifier__g_K1 = 0.024;
323 const NekDouble var_inward_rectifier__R =
325 const NekDouble var_inward_rectifier__K_o =
326 var_standard_ionic_concentrations__K_o;
327 const NekDouble var_inward_rectifier__F =
329 const NekDouble var_inward_rectifier__E_K =
330 var_Ca_independent_transient_outward_K_current__E_K;
331 const NekDouble var_inward_rectifier__i_K1 =
332 ((((48.0 / (exp((var_inward_rectifier__V + 37.0) / 25.0) +
333 exp((var_inward_rectifier__V + 37.0) / (-25.0)))) +
336 (1.0 + exp((var_inward_rectifier__V -
337 (var_inward_rectifier__E_K + 76.77)) /
339 ((var_inward_rectifier__g_K1 *
340 (var_inward_rectifier__V - (var_inward_rectifier__E_K + 1.73))) /
341 ((1.0 + exp((1.613 * var_inward_rectifier__F *
342 (var_inward_rectifier__V -
343 (var_inward_rectifier__E_K + 1.73))) /
344 (var_inward_rectifier__R * var_inward_rectifier__T))) *
346 exp((var_inward_rectifier__K_o - 0.9988) / (-0.124)))));
347 const NekDouble var_background_currents__R =
349 const NekDouble var_background_currents__Ca_i =
350 var_chaste_interface__intracellular_ion_concentrations__Ca_i;
351 const NekDouble var_standard_ionic_concentrations__Ca_o =
353 const NekDouble var_background_currents__Ca_o =
354 var_standard_ionic_concentrations__Ca_o;
355 const NekDouble var_background_currents__F =
357 const NekDouble var_background_currents__T = var_membrane__T;
358 const NekDouble var_background_currents__E_Ca =
359 ((0.5 * var_background_currents__R * var_background_currents__T) /
360 var_background_currents__F) *
361 log(var_background_currents__Ca_o /
362 var_background_currents__Ca_i);
363 const NekDouble var_background_currents__V =
364 var_chaste_interface__membrane__V;
365 const NekDouble var_background_currents__g_B_Ca_normal =
367 const NekDouble var_background_currents__Diabetes =
368 var_membrane__Diabetes;
369 const NekDouble var_background_currents__g_B_Ca =
370 (var_background_currents__Diabetes == 0.0)
371 ? var_background_currents__g_B_Ca_normal
372 : (0.5 * var_background_currents__g_B_Ca_normal);
373 const NekDouble var_background_currents__i_B_Ca =
374 var_background_currents__g_B_Ca *
375 (var_background_currents__V -
376 var_background_currents__E_Ca);
377 const NekDouble var_background_currents__g_B_K = 0.000138;
378 const NekDouble var_background_currents__E_K =
379 var_Ca_independent_transient_outward_K_current__E_K;
380 const NekDouble var_background_currents__i_B_K =
381 var_background_currents__g_B_K *
382 (var_background_currents__V -
383 var_background_currents__E_K);
384 const NekDouble var_background_currents__E_Na =
385 var_sodium_current__E_Na;
386 const NekDouble var_background_currents__g_B_Na_normal =
388 const NekDouble var_background_currents__g_B_Na =
389 (var_background_currents__Diabetes == 0.0)
390 ? var_background_currents__g_B_Na_normal
391 : (1.25 * var_background_currents__g_B_Na_normal);
392 const NekDouble var_background_currents__i_B_Na =
393 var_background_currents__g_B_Na *
394 (var_background_currents__V -
395 var_background_currents__E_Na);
396 const NekDouble var_sodium_potassium_pump__Na_o =
397 var_standard_ionic_concentrations__Na_o;
398 const NekDouble var_sodium_potassium_pump__sigma =
399 (exp(var_sodium_potassium_pump__Na_o / 67.3) - 1.0) /
401 const NekDouble var_sodium_potassium_pump__K_m_Na = 10.0;
402 const NekDouble var_sodium_potassium_pump__K_m_K = 1.5;
403 const NekDouble var_sodium_potassium_pump__V =
404 var_chaste_interface__membrane__V;
405 const NekDouble var_sodium_potassium_pump__T =
407 const NekDouble var_sodium_potassium_pump__R =
409 const NekDouble var_sodium_potassium_pump__Na_i =
410 var_chaste_interface__intracellular_ion_concentrations__Na_i;
411 const NekDouble var_sodium_potassium_pump__F =
413 const NekDouble var_sodium_potassium_pump__i_NaK_max_normal =
415 const NekDouble var_sodium_potassium_pump__Diabetes =
416 var_membrane__Diabetes;
417 const NekDouble var_sodium_potassium_pump__i_NaK_max =
418 (var_sodium_potassium_pump__Diabetes == 0.0)
419 ? var_sodium_potassium_pump__i_NaK_max_normal
420 : (0.63 * var_sodium_potassium_pump__i_NaK_max_normal);
421 const NekDouble var_sodium_potassium_pump__K_o =
422 var_standard_ionic_concentrations__K_o;
423 const NekDouble var_sodium_potassium_pump__i_NaK =
424 (((var_sodium_potassium_pump__i_NaK_max /
426 (0.1245 * exp(((-0.1) * var_sodium_potassium_pump__V *
427 var_sodium_potassium_pump__F) /
428 (var_sodium_potassium_pump__R *
429 var_sodium_potassium_pump__T))) +
430 (0.0365 * var_sodium_potassium_pump__sigma *
431 exp(((-var_sodium_potassium_pump__V) *
432 var_sodium_potassium_pump__F) /
433 (var_sodium_potassium_pump__R *
434 var_sodium_potassium_pump__T))))) *
435 var_sodium_potassium_pump__K_o) /
436 (var_sodium_potassium_pump__K_o +
437 var_sodium_potassium_pump__K_m_K)) /
438 (1.0 + pow(var_sodium_potassium_pump__K_m_Na /
439 var_sodium_potassium_pump__Na_i,
441 const NekDouble var_Na_Ca_ion_exchanger_current__Na_o =
442 var_standard_ionic_concentrations__Na_o;
443 const NekDouble var_Na_Ca_ion_exchanger_current__Na_i =
444 var_chaste_interface__intracellular_ion_concentrations__Na_i;
445 const NekDouble var_Na_Ca_ion_exchanger_current__gamma_NaCa =
447 const NekDouble var_Na_Ca_ion_exchanger_current__Ca_i =
448 var_chaste_interface__intracellular_ion_concentrations__Ca_i;
449 const NekDouble var_Na_Ca_ion_exchanger_current__Ca_o =
450 var_standard_ionic_concentrations__Ca_o;
451 const NekDouble var_Na_Ca_ion_exchanger_current__K_NaCa =
453 const NekDouble var_Na_Ca_ion_exchanger_current__d_NaCa =
455 const NekDouble var_Na_Ca_ion_exchanger_current__V =
456 var_chaste_interface__membrane__V;
457 const NekDouble var_Na_Ca_ion_exchanger_current__i_NaCa =
458 (var_Na_Ca_ion_exchanger_current__K_NaCa *
459 ((pow(var_Na_Ca_ion_exchanger_current__Na_i, 3.0) *
460 var_Na_Ca_ion_exchanger_current__Ca_o *
461 exp(0.03743 * var_Na_Ca_ion_exchanger_current__V *
462 var_Na_Ca_ion_exchanger_current__gamma_NaCa)) -
463 (pow(var_Na_Ca_ion_exchanger_current__Na_o, 3.0) *
464 var_Na_Ca_ion_exchanger_current__Ca_i *
465 exp(0.03743 * var_Na_Ca_ion_exchanger_current__V *
466 (var_Na_Ca_ion_exchanger_current__gamma_NaCa - 1.0))))) /
468 (var_Na_Ca_ion_exchanger_current__d_NaCa *
469 ((var_Na_Ca_ion_exchanger_current__Ca_i *
470 pow(var_Na_Ca_ion_exchanger_current__Na_o, 3.0)) +
471 (var_Na_Ca_ion_exchanger_current__Ca_o *
472 pow(var_Na_Ca_ion_exchanger_current__Na_i, 3.0)))));
473 const NekDouble var_sarcolemmal_calcium_pump_current__Ca_i =
474 var_chaste_interface__intracellular_ion_concentrations__Ca_i;
475 const NekDouble var_sarcolemmal_calcium_pump_current__i_Ca_P_max =
477 const NekDouble var_sarcolemmal_calcium_pump_current__i_Ca_P =
478 (var_sarcolemmal_calcium_pump_current__i_Ca_P_max *
479 var_sarcolemmal_calcium_pump_current__Ca_i) /
480 (var_sarcolemmal_calcium_pump_current__Ca_i + 0.0004);
481 const NekDouble var_sodium_current_m_gate__V =
482 var_sodium_current__V;
483 const NekDouble var_sodium_current_m_gate__m_infinity =
484 1.0 / (1.0 + exp((var_sodium_current_m_gate__V + 45.0) /
486 const NekDouble var_sodium_current_m_gate__tau_m =
488 (((0.32 * (var_sodium_current_m_gate__V + 47.13)) /
489 (1.0 - exp((-0.1) * (var_sodium_current_m_gate__V + 47.13)))) +
490 (0.08 * exp((-var_sodium_current_m_gate__V) / 11.0)));
491 const NekDouble var_sodium_current_m_gate__m =
492 var_sodium_current__m;
493 const NekDouble var_sodium_current_m_gate__d_m_d_environment__time =
494 (var_sodium_current_m_gate__m_infinity -
495 var_sodium_current_m_gate__m) /
496 var_sodium_current_m_gate__tau_m;
498 var_sodium_current__sodium_current_m_gate__d_m_d_environment__time =
499 var_sodium_current_m_gate__d_m_d_environment__time;
500 const NekDouble var_sodium_current_h_gate__V =
501 var_sodium_current__V;
502 const NekDouble var_sodium_current_h_gate__h_infinity =
503 1.0 / (1.0 + exp((var_sodium_current_h_gate__V + 76.1) /
505 const NekDouble var_sodium_current_h_gate__h =
506 var_sodium_current__h;
507 const NekDouble var_sodium_current_h_gate__tau_h =
508 (var_sodium_current_h_gate__V >= (-40.0))
511 exp((-(var_sodium_current_h_gate__V + 10.66)) / 11.1)))
514 exp((-(var_sodium_current_h_gate__V + 80.0)) / 6.8)) +
515 (3.56 * exp(0.079 * var_sodium_current_h_gate__V)) +
517 exp(0.35 * var_sodium_current_h_gate__V))));
518 const NekDouble var_sodium_current_h_gate__d_h_d_environment__time =
519 (var_sodium_current_h_gate__h_infinity -
520 var_sodium_current_h_gate__h) /
521 var_sodium_current_h_gate__tau_h;
523 var_sodium_current__sodium_current_h_gate__d_h_d_environment__time =
524 var_sodium_current_h_gate__d_h_d_environment__time;
525 const NekDouble var_sodium_current_j_gate__V =
526 var_sodium_current__V;
527 const NekDouble var_sodium_current_j_gate__j_infinity =
528 1.0 / (1.0 + exp((var_sodium_current_j_gate__V + 76.1) /
530 const NekDouble var_sodium_current_j_gate__j =
531 var_sodium_current__j;
532 const NekDouble var_sodium_current_j_gate__tau_j =
533 (var_sodium_current_j_gate__V >= (-40.0))
536 exp((-0.1) * (var_sodium_current_j_gate__V + 32.0)))) /
537 exp((-2.535e-07) * var_sodium_current_j_gate__V))
539 ((((var_sodium_current_j_gate__V + 37.78) /
541 exp(0.311 * (var_sodium_current_j_gate__V + 79.23)))) *
543 exp(0.2444 * var_sodium_current_j_gate__V)) -
545 exp((-0.04391) * var_sodium_current_j_gate__V)))) +
546 ((0.1212 * exp((-0.01052) * var_sodium_current_j_gate__V)) /
547 (1.0 + exp((-0.1378) * (var_sodium_current_j_gate__V +
549 const NekDouble var_sodium_current_j_gate__d_j_d_environment__time =
550 (var_sodium_current_j_gate__j_infinity -
551 var_sodium_current_j_gate__j) /
552 var_sodium_current_j_gate__tau_j;
554 var_sodium_current__sodium_current_j_gate__d_j_d_environment__time =
555 var_sodium_current_j_gate__d_j_d_environment__time;
556 const NekDouble var_L_type_Ca_channel__Ca_ss =
557 var_chaste_interface__intracellular_ion_concentrations__Ca_ss;
558 const NekDouble var_L_type_Ca_channel_d_gate__d =
559 var_L_type_Ca_channel__d;
560 const NekDouble var_L_type_Ca_channel_d_gate__V =
561 var_L_type_Ca_channel__V;
562 const NekDouble var_L_type_Ca_channel_d_gate__d_infinity =
563 1.0 / (1.0 + exp((var_L_type_Ca_channel_d_gate__V + 15.3) /
565 const NekDouble var_L_type_Ca_channel_d_gate__tau_d =
567 exp((-0.0045) * pow(var_L_type_Ca_channel_d_gate__V + 7.0, 2.0))) +
569 exp((-0.002) * pow(var_L_type_Ca_channel_d_gate__V - 18.0, 2.0))) +
571 const NekDouble var_L_type_Ca_channel_d_gate__d_d_d_environment__time =
572 (var_L_type_Ca_channel_d_gate__d_infinity -
573 var_L_type_Ca_channel_d_gate__d) /
574 var_L_type_Ca_channel_d_gate__tau_d;
576 var_L_type_Ca_channel__L_type_Ca_channel_d_gate__d_d_d_environment__time =
577 var_L_type_Ca_channel_d_gate__d_d_d_environment__time;
578 const NekDouble var_L_type_Ca_channel_f_11_gate__f_11 =
579 var_L_type_Ca_channel__f_11;
580 const NekDouble var_L_type_Ca_channel_f_11_gate__Diabetes =
581 var_L_type_Ca_channel__Diabetes;
582 const NekDouble var_L_type_Ca_channel_f_11_gate__V =
583 var_L_type_Ca_channel__V;
584 const NekDouble var_L_type_Ca_channel_f_11_gate__tau_f_11 =
585 (var_L_type_Ca_channel_f_11_gate__Diabetes == 0.0)
587 exp(-pow((var_L_type_Ca_channel_f_11_gate__V + 45.0) / 12.0,
590 (1.0 + exp(((-var_L_type_Ca_channel_f_11_gate__V) + 25.0) /
594 exp((var_L_type_Ca_channel_f_11_gate__V + 75.0) / 25.0))) +
597 exp(-pow((var_L_type_Ca_channel_f_11_gate__V + 45.0) / 12.0,
600 (1.0 + exp(((-var_L_type_Ca_channel_f_11_gate__V) + 25.0) /
604 exp((var_L_type_Ca_channel_f_11_gate__V + 75.0) / 25.0))) +
606 const NekDouble var_L_type_Ca_channel_f_11_gate__f_11_infinity =
607 1.0 / (1.0 + exp((var_L_type_Ca_channel_f_11_gate__V + 26.7) /
610 var_L_type_Ca_channel_f_11_gate__d_f_11_d_environment__time =
611 (var_L_type_Ca_channel_f_11_gate__f_11_infinity -
612 var_L_type_Ca_channel_f_11_gate__f_11) /
613 var_L_type_Ca_channel_f_11_gate__tau_f_11;
615 var_L_type_Ca_channel__L_type_Ca_channel_f_11_gate__d_f_11_d_environment__time =
616 var_L_type_Ca_channel_f_11_gate__d_f_11_d_environment__time;
617 const NekDouble var_L_type_Ca_channel_f_12_gate__f_12 =
618 var_L_type_Ca_channel__f_12;
619 const NekDouble var_L_type_Ca_channel_f_12_gate__V =
620 var_L_type_Ca_channel__V;
621 const NekDouble var_L_type_Ca_channel_f_12_gate__f_12_infinity =
622 1.0 / (1.0 + exp((var_L_type_Ca_channel_f_12_gate__V + 26.7) /
624 const NekDouble var_L_type_Ca_channel_f_12_gate__tau_f_12 =
626 exp(-pow((var_L_type_Ca_channel_f_12_gate__V + 47.0) / 12.0,
628 (0.08 / (1.0 + exp((var_L_type_Ca_channel_f_12_gate__V + 55.0) /
631 (1.0 + exp((var_L_type_Ca_channel_f_12_gate__V + 75.0) / 25.0))) +
634 var_L_type_Ca_channel_f_12_gate__d_f_12_d_environment__time =
635 (var_L_type_Ca_channel_f_12_gate__f_12_infinity -
636 var_L_type_Ca_channel_f_12_gate__f_12) /
637 var_L_type_Ca_channel_f_12_gate__tau_f_12;
639 var_L_type_Ca_channel__L_type_Ca_channel_f_12_gate__d_f_12_d_environment__time =
640 var_L_type_Ca_channel_f_12_gate__d_f_12_d_environment__time;
641 const NekDouble var_L_type_Ca_channel_Ca_inact_gate__Ca_ss =
642 var_L_type_Ca_channel__Ca_ss;
643 const NekDouble var_L_type_Ca_channel_Ca_inact_gate__Ca_inact_infinity =
644 1.0 / (1.0 + (var_L_type_Ca_channel_Ca_inact_gate__Ca_ss /
646 const NekDouble var_L_type_Ca_channel_Ca_inact_gate__tau_Ca_inact =
648 const NekDouble var_L_type_Ca_channel_Ca_inact_gate__Ca_inact =
649 var_L_type_Ca_channel__Ca_inact;
651 var_L_type_Ca_channel_Ca_inact_gate__d_Ca_inact_d_environment__time =
652 (var_L_type_Ca_channel_Ca_inact_gate__Ca_inact_infinity -
653 var_L_type_Ca_channel_Ca_inact_gate__Ca_inact) /
654 var_L_type_Ca_channel_Ca_inact_gate__tau_Ca_inact;
656 var_L_type_Ca_channel__L_type_Ca_channel_Ca_inact_gate__d_Ca_inact_d_environment__time =
657 var_L_type_Ca_channel_Ca_inact_gate__d_Ca_inact_d_environment__time;
659 var_Ca_independent_transient_outward_K_current_r_gate__V =
660 var_Ca_independent_transient_outward_K_current__V;
662 var_Ca_independent_transient_outward_K_current_r_gate__r_infinity =
665 exp((var_Ca_independent_transient_outward_K_current_r_gate__V +
668 const NekDouble var_Ca_independent_transient_outward_K_current_r_gate__r =
669 var_Ca_independent_transient_outward_K_current__r;
671 var_Ca_independent_transient_outward_K_current_r_gate__tau_r =
675 (var_Ca_independent_transient_outward_K_current_r_gate__V +
679 (var_Ca_independent_transient_outward_K_current_r_gate__V +
682 var_Ca_independent_transient_outward_K_current_r_gate__d_r_d_environment__time =
683 (var_Ca_independent_transient_outward_K_current_r_gate__r_infinity -
684 var_Ca_independent_transient_outward_K_current_r_gate__r) /
685 var_Ca_independent_transient_outward_K_current_r_gate__tau_r;
687 var_Ca_independent_transient_outward_K_current__Ca_independent_transient_outward_K_current_r_gate__d_r_d_environment__time =
688 var_Ca_independent_transient_outward_K_current_r_gate__d_r_d_environment__time;
690 var_Ca_independent_transient_outward_K_current_s_gate__V =
691 var_Ca_independent_transient_outward_K_current__V;
693 var_Ca_independent_transient_outward_K_current_s_gate__s_infinity =
696 exp((var_Ca_independent_transient_outward_K_current_s_gate__V +
700 var_Ca_independent_transient_outward_K_current_s_gate__tau_s =
703 (var_Ca_independent_transient_outward_K_current_s_gate__V +
708 const NekDouble var_Ca_independent_transient_outward_K_current_s_gate__s =
709 var_Ca_independent_transient_outward_K_current__s;
711 var_Ca_independent_transient_outward_K_current_s_gate__d_s_d_environment__time =
712 (var_Ca_independent_transient_outward_K_current_s_gate__s_infinity -
713 var_Ca_independent_transient_outward_K_current_s_gate__s) /
714 var_Ca_independent_transient_outward_K_current_s_gate__tau_s;
716 var_Ca_independent_transient_outward_K_current__Ca_independent_transient_outward_K_current_s_gate__d_s_d_environment__time =
717 var_Ca_independent_transient_outward_K_current_s_gate__d_s_d_environment__time;
719 var_Ca_independent_transient_outward_K_current_s_slow_gate__V =
720 var_Ca_independent_transient_outward_K_current__V;
722 var_Ca_independent_transient_outward_K_current_s_slow_gate__s_slow_infinity =
725 exp((var_Ca_independent_transient_outward_K_current_s_slow_gate__V +
729 var_Ca_independent_transient_outward_K_current_s_slow_gate__s_slow =
730 var_Ca_independent_transient_outward_K_current__s_slow;
732 var_Ca_independent_transient_outward_K_current_s_slow_gate__tau_s_slow =
735 (var_Ca_independent_transient_outward_K_current_s_slow_gate__V +
740 const NekDouble var_Ca_independent_transient_outward_K_current_s_slow_gate__d_s_slow_d_environment__time =
741 (var_Ca_independent_transient_outward_K_current_s_slow_gate__s_slow_infinity -
742 var_Ca_independent_transient_outward_K_current_s_slow_gate__s_slow) /
743 var_Ca_independent_transient_outward_K_current_s_slow_gate__tau_s_slow;
745 var_Ca_independent_transient_outward_K_current__Ca_independent_transient_outward_K_current_s_slow_gate__d_s_slow_d_environment__time =
746 var_Ca_independent_transient_outward_K_current_s_slow_gate__d_s_slow_d_environment__time;
747 const NekDouble var_steady_state_outward_K_current_r_ss_gate__V =
748 var_steady_state_outward_K_current__V;
750 var_steady_state_outward_K_current_r_ss_gate__r_ss_infinity =
753 exp((var_steady_state_outward_K_current_r_ss_gate__V + 11.5) /
755 const NekDouble var_steady_state_outward_K_current_r_ss_gate__r_ss =
756 var_steady_state_outward_K_current__r_ss;
757 const NekDouble var_steady_state_outward_K_current_r_ss_gate__tau_r_ss =
761 (var_steady_state_outward_K_current_r_ss_gate__V + 50.0))) +
763 exp((-0.1) * (var_steady_state_outward_K_current_r_ss_gate__V +
766 var_steady_state_outward_K_current_r_ss_gate__d_r_ss_d_environment__time =
767 (var_steady_state_outward_K_current_r_ss_gate__r_ss_infinity -
768 var_steady_state_outward_K_current_r_ss_gate__r_ss) /
769 var_steady_state_outward_K_current_r_ss_gate__tau_r_ss;
771 var_steady_state_outward_K_current__steady_state_outward_K_current_r_ss_gate__d_r_ss_d_environment__time =
772 var_steady_state_outward_K_current_r_ss_gate__d_r_ss_d_environment__time;
773 const NekDouble var_steady_state_outward_K_current_s_ss_gate__s_ss =
774 var_steady_state_outward_K_current__s_ss;
775 const NekDouble var_steady_state_outward_K_current_s_ss_gate__tau_s_ss =
777 const NekDouble var_steady_state_outward_K_current_s_ss_gate__V =
778 var_steady_state_outward_K_current__V;
780 var_steady_state_outward_K_current_s_ss_gate__s_ss_infinity =
783 exp((var_steady_state_outward_K_current_s_ss_gate__V + 87.5) /
786 var_steady_state_outward_K_current_s_ss_gate__d_s_ss_d_environment__time =
787 (var_steady_state_outward_K_current_s_ss_gate__s_ss_infinity -
788 var_steady_state_outward_K_current_s_ss_gate__s_ss) /
789 var_steady_state_outward_K_current_s_ss_gate__tau_s_ss;
791 var_steady_state_outward_K_current__steady_state_outward_K_current_s_ss_gate__d_s_ss_d_environment__time =
792 var_steady_state_outward_K_current_s_ss_gate__d_s_ss_d_environment__time;
793 const NekDouble var_hyperpolarisation_activated_current_y_gate__V =
794 var_hyperpolarisation_activated_current__V;
795 const NekDouble var_hyperpolarisation_activated_current_y_gate__tau_y =
798 exp((var_hyperpolarisation_activated_current_y_gate__V + 80.0) /
801 exp((var_hyperpolarisation_activated_current_y_gate__V + 80.0) /
803 const NekDouble var_hyperpolarisation_activated_current_y_gate__y =
804 var_hyperpolarisation_activated_current__y;
806 var_hyperpolarisation_activated_current_y_gate__y_infinity =
808 (1.0 + exp((var_hyperpolarisation_activated_current_y_gate__V +
812 var_hyperpolarisation_activated_current_y_gate__d_y_d_environment__time =
813 (var_hyperpolarisation_activated_current_y_gate__y_infinity -
814 var_hyperpolarisation_activated_current_y_gate__y) /
815 var_hyperpolarisation_activated_current_y_gate__tau_y;
817 var_hyperpolarisation_activated_current__hyperpolarisation_activated_current_y_gate__d_y_d_environment__time =
818 var_hyperpolarisation_activated_current_y_gate__d_y_d_environment__time;
819 const NekDouble var_SR_Ca_release_channel__Ca_ss =
820 var_chaste_interface__intracellular_ion_concentrations__Ca_ss;
821 const NekDouble var_SR_Ca_release_channel__v1 = 1800.0;
822 const NekDouble var_SR_Ca_release_channel__P_O2 =
823 var_chaste_interface__SR_Ca_release_channel__P_O2;
824 const NekDouble var_SR_Ca_release_channel__P_O1 =
825 var_chaste_interface__SR_Ca_release_channel__P_O1;
826 const NekDouble var_SR_Ca_release_channel__Ca_JSR =
827 var_chaste_interface__intracellular_ion_concentrations__Ca_JSR;
828 const NekDouble var_SR_Ca_release_channel__J_rel =
829 var_SR_Ca_release_channel__v1 *
830 (var_SR_Ca_release_channel__P_O1 +
831 var_SR_Ca_release_channel__P_O2) *
832 (var_SR_Ca_release_channel__Ca_JSR -
833 var_SR_Ca_release_channel__Ca_ss);
834 const NekDouble var_SR_Ca_release_channel__k_a_plus =
836 const NekDouble var_SR_Ca_release_channel__k_a_minus =
838 const NekDouble var_SR_Ca_release_channel__k_b_plus =
840 const NekDouble var_SR_Ca_release_channel__k_b_minus =
842 const NekDouble var_SR_Ca_release_channel__k_c_plus =
844 const NekDouble var_SR_Ca_release_channel__k_c_minus =
846 const NekDouble var_SR_Ca_release_channel__P_C1 =
847 var_chaste_interface__SR_Ca_release_channel__P_C1;
848 const NekDouble var_SR_Ca_release_channel__P_C2 =
849 var_chaste_interface__SR_Ca_release_channel__P_C2;
850 const NekDouble var_SR_Ca_release_channel__n = 4.0;
851 const NekDouble var_SR_Ca_release_channel__m = 3.0;
852 const NekDouble var_SR_Ca_release_channel__d_P_O1_d_environment__time =
853 ((var_SR_Ca_release_channel__k_a_plus *
854 pow(var_SR_Ca_release_channel__Ca_ss / 1.0,
855 var_SR_Ca_release_channel__n) *
856 var_SR_Ca_release_channel__P_C1) -
857 ((var_SR_Ca_release_channel__k_a_minus *
858 var_SR_Ca_release_channel__P_O1) +
859 (var_SR_Ca_release_channel__k_b_plus *
860 pow(var_SR_Ca_release_channel__Ca_ss / 1.0,
861 var_SR_Ca_release_channel__m) *
862 var_SR_Ca_release_channel__P_O1) +
863 (var_SR_Ca_release_channel__k_c_plus *
864 var_SR_Ca_release_channel__P_O1))) +
865 (var_SR_Ca_release_channel__k_b_minus *
866 var_SR_Ca_release_channel__P_O2) +
867 (var_SR_Ca_release_channel__k_c_minus *
868 var_SR_Ca_release_channel__P_C2);
869 const NekDouble var_SR_Ca_release_channel__d_P_O2_d_environment__time =
870 (var_SR_Ca_release_channel__k_b_plus *
871 pow(var_SR_Ca_release_channel__Ca_ss / 1.0,
872 var_SR_Ca_release_channel__m) *
873 var_SR_Ca_release_channel__P_O1) -
874 (var_SR_Ca_release_channel__k_b_minus *
875 var_SR_Ca_release_channel__P_O2);
876 const NekDouble var_SR_Ca_release_channel__d_P_C1_d_environment__time =
877 ((-var_SR_Ca_release_channel__k_a_plus) *
878 pow(var_SR_Ca_release_channel__Ca_ss / 1.0,
879 var_SR_Ca_release_channel__n) *
880 var_SR_Ca_release_channel__P_C1) +
881 (var_SR_Ca_release_channel__k_a_minus *
882 var_SR_Ca_release_channel__P_O1);
883 const NekDouble var_SR_Ca_release_channel__d_P_C2_d_environment__time =
884 (var_SR_Ca_release_channel__k_c_plus *
885 var_SR_Ca_release_channel__P_O1) -
886 (var_SR_Ca_release_channel__k_c_minus *
887 var_SR_Ca_release_channel__P_C2);
888 const NekDouble var_SERCA2a_pump__N_fb = 1.2;
889 const NekDouble var_SERCA2a_pump__K_fb = 0.000168;
891 var_chaste_interface__intracellular_ion_concentrations__Ca_i;
893 pow(var_SERCA2a_pump__Ca_i / var_SERCA2a_pump__K_fb,
894 var_SERCA2a_pump__N_fb);
895 const NekDouble var_SERCA2a_pump__Diabetes =
896 var_membrane__Diabetes;
897 const NekDouble var_SERCA2a_pump__Vmaxf_normal =
899 const NekDouble var_SERCA2a_pump__Vmaxf =
900 (var_SERCA2a_pump__Diabetes == 0.0)
901 ? var_SERCA2a_pump__Vmaxf_normal
903 var_SERCA2a_pump__Vmaxf_normal);
904 const NekDouble var_SERCA2a_pump__K_SR_normal = 1.0;
906 (var_SERCA2a_pump__Diabetes == 0.0)
907 ? var_SERCA2a_pump__K_SR_normal
908 : (0.55 * var_SERCA2a_pump__K_SR_normal);
909 const NekDouble var_SERCA2a_pump__Ca_NSR =
910 var_chaste_interface__intracellular_ion_concentrations__Ca_NSR;
911 const NekDouble var_SERCA2a_pump__K_rb = 3.29;
912 const NekDouble var_SERCA2a_pump__N_rb = 1.0;
914 pow(var_SERCA2a_pump__Ca_NSR / var_SERCA2a_pump__K_rb,
915 var_SERCA2a_pump__N_rb);
916 const NekDouble var_SERCA2a_pump__Vmaxr = 0.9;
918 (var_SERCA2a_pump__K_SR *
919 ((var_SERCA2a_pump__Vmaxf * var_SERCA2a_pump__fb) -
920 (var_SERCA2a_pump__Vmaxr * var_SERCA2a_pump__rb))) /
921 (1.0 + var_SERCA2a_pump__fb +
922 var_SERCA2a_pump__rb);
923 const NekDouble var_intracellular_and_SR_Ca_fluxes__tau_tr =
925 const NekDouble var_intracellular_and_SR_Ca_fluxes__Ca_JSR =
926 var_chaste_interface__intracellular_ion_concentrations__Ca_JSR;
927 const NekDouble var_intracellular_and_SR_Ca_fluxes__Ca_NSR =
928 var_chaste_interface__intracellular_ion_concentrations__Ca_NSR;
929 const NekDouble var_intracellular_and_SR_Ca_fluxes__J_tr =
930 (var_intracellular_and_SR_Ca_fluxes__Ca_NSR -
931 var_intracellular_and_SR_Ca_fluxes__Ca_JSR) /
932 var_intracellular_and_SR_Ca_fluxes__tau_tr;
933 const NekDouble var_intracellular_and_SR_Ca_fluxes__Ca_ss =
934 var_chaste_interface__intracellular_ion_concentrations__Ca_ss;
935 const NekDouble var_intracellular_and_SR_Ca_fluxes__Ca_i =
936 var_chaste_interface__intracellular_ion_concentrations__Ca_i;
937 const NekDouble var_intracellular_and_SR_Ca_fluxes__tau_xfer =
939 const NekDouble var_intracellular_and_SR_Ca_fluxes__J_xfer =
940 (var_intracellular_and_SR_Ca_fluxes__Ca_ss -
941 var_intracellular_and_SR_Ca_fluxes__Ca_i) /
942 var_intracellular_and_SR_Ca_fluxes__tau_xfer;
943 const NekDouble var_intracellular_and_SR_Ca_fluxes__k_htrpn_plus =
945 const NekDouble var_intracellular_and_SR_Ca_fluxes__k_htrpn_minus =
947 const NekDouble var_intracellular_and_SR_Ca_fluxes__HTRPNCa =
948 var_chaste_interface__intracellular_and_SR_Ca_fluxes__HTRPNCa;
949 const NekDouble var_intracellular_and_SR_Ca_fluxes__HTRPN_tot =
951 const NekDouble var_intracellular_and_SR_Ca_fluxes__J_HTRPNCa =
952 (var_intracellular_and_SR_Ca_fluxes__k_htrpn_plus *
953 var_intracellular_and_SR_Ca_fluxes__Ca_i *
954 (var_intracellular_and_SR_Ca_fluxes__HTRPN_tot -
955 var_intracellular_and_SR_Ca_fluxes__HTRPNCa)) -
956 (var_intracellular_and_SR_Ca_fluxes__k_htrpn_minus *
957 var_intracellular_and_SR_Ca_fluxes__HTRPNCa);
958 const NekDouble var_intracellular_and_SR_Ca_fluxes__LTRPNCa =
959 var_chaste_interface__intracellular_and_SR_Ca_fluxes__LTRPNCa;
960 const NekDouble var_intracellular_and_SR_Ca_fluxes__LTRPN_tot =
962 const NekDouble var_intracellular_and_SR_Ca_fluxes__k_ltrpn_plus =
964 const NekDouble var_intracellular_and_SR_Ca_fluxes__k_ltrpn_minus =
966 const NekDouble var_intracellular_and_SR_Ca_fluxes__J_LTRPNCa =
967 (var_intracellular_and_SR_Ca_fluxes__k_ltrpn_plus *
968 var_intracellular_and_SR_Ca_fluxes__Ca_i *
969 (var_intracellular_and_SR_Ca_fluxes__LTRPN_tot -
970 var_intracellular_and_SR_Ca_fluxes__LTRPNCa)) -
971 (var_intracellular_and_SR_Ca_fluxes__k_ltrpn_minus *
972 var_intracellular_and_SR_Ca_fluxes__LTRPNCa);
973 const NekDouble var_intracellular_and_SR_Ca_fluxes__J_trpn =
974 var_intracellular_and_SR_Ca_fluxes__J_HTRPNCa +
975 var_intracellular_and_SR_Ca_fluxes__J_LTRPNCa;
977 var_intracellular_and_SR_Ca_fluxes__d_HTRPNCa_d_environment__time =
978 (var_intracellular_and_SR_Ca_fluxes__k_htrpn_plus *
979 var_intracellular_and_SR_Ca_fluxes__Ca_i *
980 (var_intracellular_and_SR_Ca_fluxes__HTRPN_tot -
981 var_intracellular_and_SR_Ca_fluxes__HTRPNCa)) -
982 (var_intracellular_and_SR_Ca_fluxes__k_htrpn_minus *
983 var_intracellular_and_SR_Ca_fluxes__HTRPNCa);
987 var_intracellular_and_SR_Ca_fluxes__d_LTRPNCa_d_environment__time =
988 (var_intracellular_and_SR_Ca_fluxes__k_ltrpn_plus *
989 var_intracellular_and_SR_Ca_fluxes__Ca_i *
990 (var_intracellular_and_SR_Ca_fluxes__LTRPN_tot -
991 var_intracellular_and_SR_Ca_fluxes__LTRPNCa)) -
992 (var_intracellular_and_SR_Ca_fluxes__k_ltrpn_minus *
993 var_intracellular_and_SR_Ca_fluxes__LTRPNCa);
996 const NekDouble var_intracellular_ion_concentrations__Ca_i =
997 var_chaste_interface__intracellular_ion_concentrations__Ca_i;
998 const NekDouble var_intracellular_ion_concentrations__Ca_ss =
999 var_chaste_interface__intracellular_ion_concentrations__Ca_ss;
1000 const NekDouble var_intracellular_ion_concentrations__Ca_JSR =
1001 var_chaste_interface__intracellular_ion_concentrations__Ca_JSR;
1002 const NekDouble var_intracellular_ion_concentrations__V_myo =
1004 const NekDouble var_intracellular_ion_concentrations__V_JSR =
1006 const NekDouble var_intracellular_ion_concentrations__V_NSR =
1008 const NekDouble var_intracellular_ion_concentrations__V_SS =
1010 const NekDouble var_intracellular_ion_concentrations__K_mCMDN =
1012 const NekDouble var_intracellular_ion_concentrations__K_mCSQN =
1014 const NekDouble var_intracellular_ion_concentrations__K_mEGTA =
1016 const NekDouble var_intracellular_ion_concentrations__CMDN_tot =
1018 const NekDouble var_intracellular_ion_concentrations__CSQN_tot =
1020 const NekDouble var_intracellular_ion_concentrations__EGTA_tot =
1022 const NekDouble var_intracellular_ion_concentrations__beta_i =
1024 ((var_intracellular_ion_concentrations__CMDN_tot *
1025 var_intracellular_ion_concentrations__K_mCMDN) /
1026 pow(var_intracellular_ion_concentrations__K_mCMDN +
1027 var_intracellular_ion_concentrations__Ca_i,
1029 ((var_intracellular_ion_concentrations__EGTA_tot *
1030 var_intracellular_ion_concentrations__K_mEGTA) /
1031 pow(var_intracellular_ion_concentrations__K_mEGTA +
1032 var_intracellular_ion_concentrations__Ca_i,
1034 const NekDouble var_intracellular_ion_concentrations__beta_SS =
1035 1.0 / (1.0 + ((var_intracellular_ion_concentrations__CMDN_tot *
1036 var_intracellular_ion_concentrations__K_mCMDN) /
1037 pow(var_intracellular_ion_concentrations__K_mCMDN +
1038 var_intracellular_ion_concentrations__Ca_ss,
1040 const NekDouble var_intracellular_ion_concentrations__beta_JSR =
1041 1.0 / (1.0 + ((var_intracellular_ion_concentrations__CSQN_tot *
1042 var_intracellular_ion_concentrations__K_mCSQN) /
1043 pow(var_intracellular_ion_concentrations__K_mCSQN +
1044 var_intracellular_ion_concentrations__Ca_JSR,
1046 const NekDouble var_intracellular_ion_concentrations__F =
1048 const NekDouble var_intracellular_ion_concentrations__i_Na =
1049 var_sodium_current__i_Na;
1050 const NekDouble var_intracellular_ion_concentrations__i_Ca_L =
1051 var_L_type_Ca_channel__i_Ca_L;
1052 const NekDouble var_intracellular_ion_concentrations__i_B_Na =
1053 var_background_currents__i_B_Na;
1054 const NekDouble var_intracellular_ion_concentrations__i_NaCa =
1055 var_Na_Ca_ion_exchanger_current__i_NaCa;
1056 const NekDouble var_intracellular_ion_concentrations__i_NaK =
1057 var_sodium_potassium_pump__i_NaK;
1058 const NekDouble var_intracellular_ion_concentrations__i_f_Na =
1059 var_hyperpolarisation_activated_current__i_f_Na;
1060 const NekDouble var_intracellular_ion_concentrations__i_f_K =
1061 var_hyperpolarisation_activated_current__i_f_K;
1062 const NekDouble var_intracellular_ion_concentrations__i_B_K =
1063 var_background_currents__i_B_K;
1064 const NekDouble var_intracellular_ion_concentrations__i_K1 =
1065 var_inward_rectifier__i_K1;
1066 const NekDouble var_intracellular_ion_concentrations__i_t =
1067 var_Ca_independent_transient_outward_K_current__i_t;
1068 const NekDouble var_intracellular_ion_concentrations__i_ss =
1069 var_steady_state_outward_K_current__i_ss;
1070 const NekDouble var_intracellular_ion_concentrations__i_Ca_P =
1071 var_sarcolemmal_calcium_pump_current__i_Ca_P;
1072 const NekDouble var_intracellular_ion_concentrations__i_B_Ca =
1073 var_background_currents__i_B_Ca;
1074 const NekDouble var_intracellular_ion_concentrations__J_up =
1075 var_SERCA2a_pump__J_up;
1076 const NekDouble var_intracellular_ion_concentrations__J_rel =
1077 var_SR_Ca_release_channel__J_rel;
1078 const NekDouble var_intracellular_ion_concentrations__J_xfer =
1079 var_intracellular_and_SR_Ca_fluxes__J_xfer;
1080 const NekDouble var_intracellular_ion_concentrations__J_trpn =
1081 var_intracellular_and_SR_Ca_fluxes__J_trpn;
1082 const NekDouble var_intracellular_ion_concentrations__J_tr =
1083 var_intracellular_and_SR_Ca_fluxes__J_tr;
1085 var_intracellular_ion_concentrations__d_Na_i_d_environment__time =
1086 (-(var_intracellular_ion_concentrations__i_Na +
1087 var_intracellular_ion_concentrations__i_B_Na +
1088 (var_intracellular_ion_concentrations__i_NaCa * 3.0) +
1089 (var_intracellular_ion_concentrations__i_NaK * 3.0) +
1090 var_intracellular_ion_concentrations__i_f_Na)) /
1091 (var_intracellular_ion_concentrations__V_myo *
1092 var_intracellular_ion_concentrations__F);
1095 var_intracellular_ion_concentrations__d_Ca_i_d_environment__time =
1096 var_intracellular_ion_concentrations__beta_i *
1097 (var_intracellular_ion_concentrations__J_xfer -
1098 (var_intracellular_ion_concentrations__J_up +
1099 var_intracellular_ion_concentrations__J_trpn +
1100 (((var_intracellular_ion_concentrations__i_B_Ca -
1101 (2.0 * var_intracellular_ion_concentrations__i_NaCa)) +
1102 var_intracellular_ion_concentrations__i_Ca_P) /
1103 (2.0 * var_intracellular_ion_concentrations__V_myo *
1104 var_intracellular_ion_concentrations__F))));
1108 var_intracellular_ion_concentrations__d_K_i_d_environment__time =
1109 (-(var_intracellular_ion_concentrations__i_ss +
1110 var_intracellular_ion_concentrations__i_B_K +
1111 var_intracellular_ion_concentrations__i_t +
1112 var_intracellular_ion_concentrations__i_K1 +
1113 var_intracellular_ion_concentrations__i_f_K +
1114 (var_intracellular_ion_concentrations__i_NaK * (-2.0)))) /
1115 (var_intracellular_ion_concentrations__V_myo *
1116 var_intracellular_ion_concentrations__F);
1119 var_intracellular_ion_concentrations__d_Ca_ss_d_environment__time =
1120 var_intracellular_ion_concentrations__beta_SS *
1121 ((((var_intracellular_ion_concentrations__J_rel *
1122 var_intracellular_ion_concentrations__V_JSR) /
1123 var_intracellular_ion_concentrations__V_SS) -
1124 ((var_intracellular_ion_concentrations__J_xfer *
1125 var_intracellular_ion_concentrations__V_myo) /
1126 var_intracellular_ion_concentrations__V_SS)) -
1127 (var_intracellular_ion_concentrations__i_Ca_L /
1128 (2.0 * var_intracellular_ion_concentrations__V_SS *
1129 var_intracellular_ion_concentrations__F)));
1133 var_intracellular_ion_concentrations__d_Ca_JSR_d_environment__time =
1134 var_intracellular_ion_concentrations__beta_JSR *
1135 (var_intracellular_ion_concentrations__J_tr -
1136 var_intracellular_ion_concentrations__J_rel);
1140 var_intracellular_ion_concentrations__d_Ca_NSR_d_environment__time =
1141 ((var_intracellular_ion_concentrations__J_up *
1142 var_intracellular_ion_concentrations__V_myo) /
1143 var_intracellular_ion_concentrations__V_NSR) -
1144 ((var_intracellular_ion_concentrations__J_tr *
1145 var_intracellular_ion_concentrations__V_JSR) /
1146 var_intracellular_ion_concentrations__V_NSR);
1150 var_chaste_interface__sodium_current_m_gate__d_m_d_environment__time_converter =
1151 var_sodium_current__sodium_current_m_gate__d_m_d_environment__time;
1153 var_chaste_interface__sodium_current_m_gate__d_m_d_environment__time =
1155 var_chaste_interface__sodium_current_m_gate__d_m_d_environment__time_converter;
1157 var_chaste_interface__sodium_current_h_gate__d_h_d_environment__time_converter =
1158 var_sodium_current__sodium_current_h_gate__d_h_d_environment__time;
1160 var_chaste_interface__sodium_current_h_gate__d_h_d_environment__time =
1162 var_chaste_interface__sodium_current_h_gate__d_h_d_environment__time_converter;
1164 var_chaste_interface__sodium_current_j_gate__d_j_d_environment__time_converter =
1165 var_sodium_current__sodium_current_j_gate__d_j_d_environment__time;
1167 var_chaste_interface__sodium_current_j_gate__d_j_d_environment__time =
1169 var_chaste_interface__sodium_current_j_gate__d_j_d_environment__time_converter;
1171 var_chaste_interface__L_type_Ca_channel_d_gate__d_d_d_environment__time_converter =
1172 var_L_type_Ca_channel__L_type_Ca_channel_d_gate__d_d_d_environment__time;
1174 var_chaste_interface__L_type_Ca_channel_d_gate__d_d_d_environment__time =
1176 var_chaste_interface__L_type_Ca_channel_d_gate__d_d_d_environment__time_converter;
1178 var_chaste_interface__L_type_Ca_channel_f_11_gate__d_f_11_d_environment__time_converter =
1179 var_L_type_Ca_channel__L_type_Ca_channel_f_11_gate__d_f_11_d_environment__time;
1181 var_chaste_interface__L_type_Ca_channel_f_11_gate__d_f_11_d_environment__time =
1183 var_chaste_interface__L_type_Ca_channel_f_11_gate__d_f_11_d_environment__time_converter;
1185 var_chaste_interface__L_type_Ca_channel_f_12_gate__d_f_12_d_environment__time_converter =
1186 var_L_type_Ca_channel__L_type_Ca_channel_f_12_gate__d_f_12_d_environment__time;
1188 var_chaste_interface__L_type_Ca_channel_f_12_gate__d_f_12_d_environment__time =
1190 var_chaste_interface__L_type_Ca_channel_f_12_gate__d_f_12_d_environment__time_converter;
1192 var_chaste_interface__L_type_Ca_channel_Ca_inact_gate__d_Ca_inact_d_environment__time_converter =
1193 var_L_type_Ca_channel__L_type_Ca_channel_Ca_inact_gate__d_Ca_inact_d_environment__time;
1195 var_chaste_interface__L_type_Ca_channel_Ca_inact_gate__d_Ca_inact_d_environment__time =
1197 var_chaste_interface__L_type_Ca_channel_Ca_inact_gate__d_Ca_inact_d_environment__time_converter;
1199 var_chaste_interface__Ca_independent_transient_outward_K_current_r_gate__d_r_d_environment__time_converter =
1200 var_Ca_independent_transient_outward_K_current__Ca_independent_transient_outward_K_current_r_gate__d_r_d_environment__time;
1202 var_chaste_interface__Ca_independent_transient_outward_K_current_r_gate__d_r_d_environment__time =
1204 var_chaste_interface__Ca_independent_transient_outward_K_current_r_gate__d_r_d_environment__time_converter;
1206 var_chaste_interface__Ca_independent_transient_outward_K_current_s_gate__d_s_d_environment__time_converter =
1207 var_Ca_independent_transient_outward_K_current__Ca_independent_transient_outward_K_current_s_gate__d_s_d_environment__time;
1209 var_chaste_interface__Ca_independent_transient_outward_K_current_s_gate__d_s_d_environment__time =
1211 var_chaste_interface__Ca_independent_transient_outward_K_current_s_gate__d_s_d_environment__time_converter;
1213 var_chaste_interface__Ca_independent_transient_outward_K_current_s_slow_gate__d_s_slow_d_environment__time_converter =
1214 var_Ca_independent_transient_outward_K_current__Ca_independent_transient_outward_K_current_s_slow_gate__d_s_slow_d_environment__time;
1216 var_chaste_interface__Ca_independent_transient_outward_K_current_s_slow_gate__d_s_slow_d_environment__time =
1218 var_chaste_interface__Ca_independent_transient_outward_K_current_s_slow_gate__d_s_slow_d_environment__time_converter;
1220 var_chaste_interface__steady_state_outward_K_current_r_ss_gate__d_r_ss_d_environment__time_converter =
1221 var_steady_state_outward_K_current__steady_state_outward_K_current_r_ss_gate__d_r_ss_d_environment__time;
1223 var_chaste_interface__steady_state_outward_K_current_r_ss_gate__d_r_ss_d_environment__time =
1225 var_chaste_interface__steady_state_outward_K_current_r_ss_gate__d_r_ss_d_environment__time_converter;
1227 var_chaste_interface__steady_state_outward_K_current_s_ss_gate__d_s_ss_d_environment__time_converter =
1228 var_steady_state_outward_K_current__steady_state_outward_K_current_s_ss_gate__d_s_ss_d_environment__time;
1230 var_chaste_interface__steady_state_outward_K_current_s_ss_gate__d_s_ss_d_environment__time =
1232 var_chaste_interface__steady_state_outward_K_current_s_ss_gate__d_s_ss_d_environment__time_converter;
1234 var_chaste_interface__hyperpolarisation_activated_current_y_gate__d_y_d_environment__time_converter =
1235 var_hyperpolarisation_activated_current__hyperpolarisation_activated_current_y_gate__d_y_d_environment__time;
1237 var_chaste_interface__hyperpolarisation_activated_current_y_gate__d_y_d_environment__time =
1239 var_chaste_interface__hyperpolarisation_activated_current_y_gate__d_y_d_environment__time_converter;
1241 var_chaste_interface__SR_Ca_release_channel__d_P_O1_d_environment__time_converter =
1242 var_SR_Ca_release_channel__d_P_O1_d_environment__time;
1244 var_chaste_interface__SR_Ca_release_channel__d_P_O1_d_environment__time =
1246 var_chaste_interface__SR_Ca_release_channel__d_P_O1_d_environment__time_converter;
1248 var_chaste_interface__SR_Ca_release_channel__d_P_O2_d_environment__time_converter =
1249 var_SR_Ca_release_channel__d_P_O2_d_environment__time;
1251 var_chaste_interface__SR_Ca_release_channel__d_P_O2_d_environment__time =
1253 var_chaste_interface__SR_Ca_release_channel__d_P_O2_d_environment__time_converter;
1255 var_chaste_interface__SR_Ca_release_channel__d_P_C1_d_environment__time_converter =
1256 var_SR_Ca_release_channel__d_P_C1_d_environment__time;
1258 var_chaste_interface__SR_Ca_release_channel__d_P_C1_d_environment__time =
1260 var_chaste_interface__SR_Ca_release_channel__d_P_C1_d_environment__time_converter;
1262 var_chaste_interface__SR_Ca_release_channel__d_P_C2_d_environment__time_converter =
1263 var_SR_Ca_release_channel__d_P_C2_d_environment__time;
1265 var_chaste_interface__SR_Ca_release_channel__d_P_C2_d_environment__time =
1267 var_chaste_interface__SR_Ca_release_channel__d_P_C2_d_environment__time_converter;
1269 var_chaste_interface__intracellular_and_SR_Ca_fluxes__d_HTRPNCa_d_environment__time_converter =
1270 var_intracellular_and_SR_Ca_fluxes__d_HTRPNCa_d_environment__time;
1272 var_chaste_interface__intracellular_and_SR_Ca_fluxes__d_HTRPNCa_d_environment__time =
1274 var_chaste_interface__intracellular_and_SR_Ca_fluxes__d_HTRPNCa_d_environment__time_converter;
1276 var_chaste_interface__intracellular_and_SR_Ca_fluxes__d_LTRPNCa_d_environment__time_converter =
1277 var_intracellular_and_SR_Ca_fluxes__d_LTRPNCa_d_environment__time;
1279 var_chaste_interface__intracellular_and_SR_Ca_fluxes__d_LTRPNCa_d_environment__time =
1281 var_chaste_interface__intracellular_and_SR_Ca_fluxes__d_LTRPNCa_d_environment__time_converter;
1283 var_chaste_interface__intracellular_ion_concentrations__d_Na_i_d_environment__time_converter =
1284 var_intracellular_ion_concentrations__d_Na_i_d_environment__time;
1286 var_chaste_interface__intracellular_ion_concentrations__d_Na_i_d_environment__time =
1288 var_chaste_interface__intracellular_ion_concentrations__d_Na_i_d_environment__time_converter;
1290 var_chaste_interface__intracellular_ion_concentrations__d_Ca_i_d_environment__time_converter =
1291 var_intracellular_ion_concentrations__d_Ca_i_d_environment__time;
1293 var_chaste_interface__intracellular_ion_concentrations__d_Ca_i_d_environment__time =
1295 var_chaste_interface__intracellular_ion_concentrations__d_Ca_i_d_environment__time_converter;
1297 var_chaste_interface__intracellular_ion_concentrations__d_K_i_d_environment__time_converter =
1298 var_intracellular_ion_concentrations__d_K_i_d_environment__time;
1300 var_chaste_interface__intracellular_ion_concentrations__d_K_i_d_environment__time =
1302 var_chaste_interface__intracellular_ion_concentrations__d_K_i_d_environment__time_converter;
1304 var_chaste_interface__intracellular_ion_concentrations__d_Ca_ss_d_environment__time_converter =
1305 var_intracellular_ion_concentrations__d_Ca_ss_d_environment__time;
1307 var_chaste_interface__intracellular_ion_concentrations__d_Ca_ss_d_environment__time =
1309 var_chaste_interface__intracellular_ion_concentrations__d_Ca_ss_d_environment__time_converter;
1311 var_chaste_interface__intracellular_ion_concentrations__d_Ca_JSR_d_environment__time_converter =
1312 var_intracellular_ion_concentrations__d_Ca_JSR_d_environment__time;
1314 var_chaste_interface__intracellular_ion_concentrations__d_Ca_JSR_d_environment__time =
1316 var_chaste_interface__intracellular_ion_concentrations__d_Ca_JSR_d_environment__time_converter;
1318 var_chaste_interface__intracellular_ion_concentrations__d_Ca_NSR_d_environment__time_converter =
1319 var_intracellular_ion_concentrations__d_Ca_NSR_d_environment__time;
1321 var_chaste_interface__intracellular_ion_concentrations__d_Ca_NSR_d_environment__time =
1323 var_chaste_interface__intracellular_ion_concentrations__d_Ca_NSR_d_environment__time_converter;
1324 const NekDouble d_dt_chaste_interface__sodium_current_m_gate__m =
1325 var_chaste_interface__sodium_current_m_gate__d_m_d_environment__time;
1326 const NekDouble d_dt_chaste_interface__sodium_current_h_gate__h =
1327 var_chaste_interface__sodium_current_h_gate__d_h_d_environment__time;
1328 const NekDouble d_dt_chaste_interface__sodium_current_j_gate__j =
1329 var_chaste_interface__sodium_current_j_gate__d_j_d_environment__time;
1330 const NekDouble d_dt_chaste_interface__L_type_Ca_channel_d_gate__d =
1331 var_chaste_interface__L_type_Ca_channel_d_gate__d_d_d_environment__time;
1332 const NekDouble d_dt_chaste_interface__L_type_Ca_channel_f_11_gate__f_11 =
1333 var_chaste_interface__L_type_Ca_channel_f_11_gate__d_f_11_d_environment__time;
1334 const NekDouble d_dt_chaste_interface__L_type_Ca_channel_f_12_gate__f_12 =
1335 var_chaste_interface__L_type_Ca_channel_f_12_gate__d_f_12_d_environment__time;
1337 d_dt_chaste_interface__L_type_Ca_channel_Ca_inact_gate__Ca_inact =
1338 var_chaste_interface__L_type_Ca_channel_Ca_inact_gate__d_Ca_inact_d_environment__time;
1340 d_dt_chaste_interface__Ca_independent_transient_outward_K_current_r_gate__r =
1341 var_chaste_interface__Ca_independent_transient_outward_K_current_r_gate__d_r_d_environment__time;
1343 d_dt_chaste_interface__Ca_independent_transient_outward_K_current_s_gate__s =
1344 var_chaste_interface__Ca_independent_transient_outward_K_current_s_gate__d_s_d_environment__time;
1346 d_dt_chaste_interface__Ca_independent_transient_outward_K_current_s_slow_gate__s_slow =
1347 var_chaste_interface__Ca_independent_transient_outward_K_current_s_slow_gate__d_s_slow_d_environment__time;
1349 d_dt_chaste_interface__steady_state_outward_K_current_r_ss_gate__r_ss =
1350 var_chaste_interface__steady_state_outward_K_current_r_ss_gate__d_r_ss_d_environment__time;
1352 d_dt_chaste_interface__steady_state_outward_K_current_s_ss_gate__s_ss =
1353 var_chaste_interface__steady_state_outward_K_current_s_ss_gate__d_s_ss_d_environment__time;
1355 d_dt_chaste_interface__hyperpolarisation_activated_current_y_gate__y =
1356 var_chaste_interface__hyperpolarisation_activated_current_y_gate__d_y_d_environment__time;
1357 const NekDouble d_dt_chaste_interface__SR_Ca_release_channel__P_O1 =
1358 var_chaste_interface__SR_Ca_release_channel__d_P_O1_d_environment__time;
1359 const NekDouble d_dt_chaste_interface__SR_Ca_release_channel__P_O2 =
1360 var_chaste_interface__SR_Ca_release_channel__d_P_O2_d_environment__time;
1361 const NekDouble d_dt_chaste_interface__SR_Ca_release_channel__P_C1 =
1362 var_chaste_interface__SR_Ca_release_channel__d_P_C1_d_environment__time;
1363 const NekDouble d_dt_chaste_interface__SR_Ca_release_channel__P_C2 =
1364 var_chaste_interface__SR_Ca_release_channel__d_P_C2_d_environment__time;
1366 d_dt_chaste_interface__intracellular_and_SR_Ca_fluxes__HTRPNCa =
1367 var_chaste_interface__intracellular_and_SR_Ca_fluxes__d_HTRPNCa_d_environment__time;
1369 d_dt_chaste_interface__intracellular_and_SR_Ca_fluxes__LTRPNCa =
1370 var_chaste_interface__intracellular_and_SR_Ca_fluxes__d_LTRPNCa_d_environment__time;
1371 const NekDouble d_dt_chaste_interface__intracellular_ion_concentrations__Na_i =
1372 var_chaste_interface__intracellular_ion_concentrations__d_Na_i_d_environment__time;
1373 const NekDouble d_dt_chaste_interface__intracellular_ion_concentrations__Ca_i =
1374 var_chaste_interface__intracellular_ion_concentrations__d_Ca_i_d_environment__time;
1375 const NekDouble d_dt_chaste_interface__intracellular_ion_concentrations__K_i =
1376 var_chaste_interface__intracellular_ion_concentrations__d_K_i_d_environment__time;
1378 d_dt_chaste_interface__intracellular_ion_concentrations__Ca_ss =
1379 var_chaste_interface__intracellular_ion_concentrations__d_Ca_ss_d_environment__time;
1381 d_dt_chaste_interface__intracellular_ion_concentrations__Ca_JSR =
1382 var_chaste_interface__intracellular_ion_concentrations__d_Ca_JSR_d_environment__time;
1384 d_dt_chaste_interface__intracellular_ion_concentrations__Ca_NSR =
1385 var_chaste_interface__intracellular_ion_concentrations__d_Ca_NSR_d_environment__time;
1387 const NekDouble var_membrane__Cm = 0.0001;
1388 const NekDouble var_membrane__i_Na = var_sodium_current__i_Na;
1390 var_L_type_Ca_channel__i_Ca_L;
1392 var_Ca_independent_transient_outward_K_current__i_t;
1394 var_steady_state_outward_K_current__i_ss;
1395 const NekDouble var_hyperpolarisation_activated_current__i_f =
1396 var_hyperpolarisation_activated_current__i_f_Na +
1397 var_hyperpolarisation_activated_current__i_f_K;
1399 var_hyperpolarisation_activated_current__i_f;
1401 var_inward_rectifier__i_K1;
1402 const NekDouble var_background_currents__i_B =
1403 var_background_currents__i_B_Na + var_background_currents__i_B_Ca +
1404 var_background_currents__i_B_K;
1406 var_background_currents__i_B;
1408 var_sodium_potassium_pump__i_NaK;
1410 var_Na_Ca_ion_exchanger_current__i_NaCa;
1412 var_sarcolemmal_calcium_pump_current__i_Ca_P;
1413 const NekDouble var_chaste_interface__membrane__i_Stim = 0.0;
1414 const NekDouble var_membrane__i_Stim_converter =
1415 var_chaste_interface__membrane__i_Stim;
1417 var_membrane__chaste_interface__chaste_membrane_capacitance =
1421 ((var_membrane__i_Stim_converter * var_membrane__Cm) /
1422 var_membrane__chaste_interface__chaste_membrane_capacitance);
1423 const NekDouble var_membrane__d_V_d_environment__time =
1424 (-(var_membrane__i_Na + var_membrane__i_Ca_L + var_membrane__i_t +
1425 var_membrane__i_ss + var_membrane__i_f + var_membrane__i_K1 +
1426 var_membrane__i_B + var_membrane__i_NaK + var_membrane__i_NaCa +
1427 var_membrane__i_Ca_P + var_membrane__i_Stim)) /
1430 var_chaste_interface__membrane__d_V_d_environment__time_converter =
1431 var_membrane__d_V_d_environment__time;
1432 const NekDouble var_chaste_interface__membrane__d_V_d_environment__time =
1434 var_chaste_interface__membrane__d_V_d_environment__time_converter;
1435 d_dt_chaste_interface__membrane__V =
1436 var_chaste_interface__membrane__d_V_d_environment__time;
1439 outarray[0][i] = d_dt_chaste_interface__membrane__V;
1440 outarray[1][i] = 0.0;
1441 outarray[2][i] = d_dt_chaste_interface__sodium_current_m_gate__m;
1442 outarray[3][i] = d_dt_chaste_interface__sodium_current_h_gate__h;
1443 outarray[4][i] = d_dt_chaste_interface__sodium_current_j_gate__j;
1444 outarray[5][i] = d_dt_chaste_interface__L_type_Ca_channel_d_gate__d;
1446 d_dt_chaste_interface__L_type_Ca_channel_f_11_gate__f_11;
1448 d_dt_chaste_interface__L_type_Ca_channel_f_12_gate__f_12;
1450 d_dt_chaste_interface__L_type_Ca_channel_Ca_inact_gate__Ca_inact;
1452 d_dt_chaste_interface__Ca_independent_transient_outward_K_current_r_gate__r;
1454 d_dt_chaste_interface__Ca_independent_transient_outward_K_current_s_gate__s;
1456 d_dt_chaste_interface__Ca_independent_transient_outward_K_current_s_slow_gate__s_slow;
1458 d_dt_chaste_interface__steady_state_outward_K_current_r_ss_gate__r_ss;
1460 d_dt_chaste_interface__steady_state_outward_K_current_s_ss_gate__s_ss;
1462 d_dt_chaste_interface__hyperpolarisation_activated_current_y_gate__y;
1463 outarray[15][i] = d_dt_chaste_interface__SR_Ca_release_channel__P_O1;
1464 outarray[16][i] = d_dt_chaste_interface__SR_Ca_release_channel__P_O2;
1465 outarray[17][i] = d_dt_chaste_interface__SR_Ca_release_channel__P_C1;
1466 outarray[18][i] = d_dt_chaste_interface__SR_Ca_release_channel__P_C2;
1468 d_dt_chaste_interface__intracellular_and_SR_Ca_fluxes__HTRPNCa;
1470 d_dt_chaste_interface__intracellular_and_SR_Ca_fluxes__LTRPNCa;
1472 d_dt_chaste_interface__intracellular_ion_concentrations__Na_i;
1474 d_dt_chaste_interface__intracellular_ion_concentrations__Ca_i;
1476 d_dt_chaste_interface__intracellular_ion_concentrations__K_i;
1478 d_dt_chaste_interface__intracellular_ion_concentrations__Ca_ss;
1480 d_dt_chaste_interface__intracellular_ion_concentrations__Ca_JSR;
1482 d_dt_chaste_interface__intracellular_ion_concentrations__Ca_NSR;
1499 ASSERTL0(
false,
"PanditGilesDemir03 cell model not currently usable.");
#define ASSERTL0(condition, msg)
size_t m_nq
Number of physical points.
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
void v_Update(const Array< OneD, const Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble time) override
Computes the reaction terms $f(u,v)$ and $g(u,v)$.
static CellModelSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField)
Creates an instance of this class.
PanditGilesDemir03(const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField)
Constructor.
void v_SetInitialConditions() override
Set initial conditions for the cell model.
void v_GenerateSummary(SummaryList &s) override
Prints a summary of the model parameters.
static std::string className
Name of class.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::shared_ptr< ExpList > ExpListSharedPtr
Shared pointer to an ExpList object.
std::vector< std::pair< std::string, std::string > > SummaryList
void AddSummaryItem(SummaryList &l, const std::string &name, const std::string &value)
Adds a summary item to the summary info list.
CellModelFactory & GetCellModelFactory()
scalarT< T > log(scalarT< T > in)