148{
149 for (
size_t i = 0; i <
m_nq; ++i)
150 {
151
152
153 NekDouble var_chaste_interface__membrane__V = inarray[0][i];
154
156 var_chaste_interface__rapid_time_dependent_potassium_current_Xr1_gate__Xr1 =
157 inarray[1][i];
158
160 var_chaste_interface__rapid_time_dependent_potassium_current_Xr2_gate__Xr2 =
161 inarray[2][i];
162
164 var_chaste_interface__slow_time_dependent_potassium_current_Xs_gate__Xs =
165 inarray[3][i];
166
167 NekDouble var_chaste_interface__fast_sodium_current_m_gate__m =
168 inarray[4][i];
169
170 NekDouble var_chaste_interface__fast_sodium_current_h_gate__h =
171 inarray[5][i];
172
173 NekDouble var_chaste_interface__fast_sodium_current_j_gate__j =
174 inarray[6][i];
175
176 NekDouble var_chaste_interface__L_type_Ca_current_d_gate__d =
177 inarray[7][i];
178
179 NekDouble var_chaste_interface__L_type_Ca_current_f_gate__f =
180 inarray[8][i];
181
182 NekDouble var_chaste_interface__L_type_Ca_current_f2_gate__f2 =
183 inarray[9][i];
184
185 NekDouble var_chaste_interface__L_type_Ca_current_fCass_gate__fCass =
186 inarray[10][i];
187
188 NekDouble var_chaste_interface__transient_outward_current_s_gate__s =
189 inarray[11][i];
190
191 NekDouble var_chaste_interface__transient_outward_current_r_gate__r =
192 inarray[12][i];
193
194 NekDouble var_chaste_interface__calcium_dynamics__Ca_i = inarray[13][i];
195
196 NekDouble var_chaste_interface__calcium_dynamics__Ca_SR =
197 inarray[14][i];
198
199 NekDouble var_chaste_interface__calcium_dynamics__Ca_ss =
200 inarray[15][i];
201
202 NekDouble var_chaste_interface__calcium_dynamics__R_prime =
203 inarray[16][i];
204
205 NekDouble var_chaste_interface__sodium_dynamics__Na_i = inarray[17][i];
206
207 NekDouble var_chaste_interface__potassium_dynamics__K_i =
208 inarray[18][i];
209
210
211
212 NekDouble d_dt_chaste_interface__membrane__V;
213 const NekDouble var_membrane__R = 8314.472;
215 const NekDouble var_membrane__F = 96485.3415;
216 const NekDouble var_membrane__Cm = 0.185;
217 const NekDouble var_membrane__V_c = 0.016404;
218 const NekDouble var_inward_rectifier_potassium_current__V =
219 var_chaste_interface__membrane__V;
220 const NekDouble var_reversal_potentials__K_i =
221 var_chaste_interface__potassium_dynamics__K_i;
222 const NekDouble var_reversal_potentials__R =
223 var_membrane__R;
224 const NekDouble var_reversal_potentials__T = var_membrane__T;
225 const NekDouble var_reversal_potentials__F =
226 var_membrane__F;
228 const NekDouble var_reversal_potentials__K_o =
229 var_potassium_dynamics__K_o;
230 const NekDouble var_reversal_potentials__E_K =
231 ((var_reversal_potentials__R * var_reversal_potentials__T) /
232 var_reversal_potentials__F) *
233 log(var_reversal_potentials__K_o /
234 var_reversal_potentials__K_i);
235 const NekDouble var_inward_rectifier_potassium_current__E_K =
236 var_reversal_potentials__E_K;
237 const NekDouble var_inward_rectifier_potassium_current__beta_K1 =
238 ((3.0 *
239 exp(0.0002 * ((var_inward_rectifier_potassium_current__V -
240 var_inward_rectifier_potassium_current__E_K) +
241 100.0))) +
242 exp(0.1 * ((var_inward_rectifier_potassium_current__V -
243 var_inward_rectifier_potassium_current__E_K) -
244 10.0))) /
245 (1.0 +
246 exp((-0.5) *
247 (var_inward_rectifier_potassium_current__V -
248 var_inward_rectifier_potassium_current__E_K)));
249 const NekDouble var_inward_rectifier_potassium_current__alpha_K1 =
250 0.1 /
251 (1.0 + exp(0.06 * ((var_inward_rectifier_potassium_current__V -
252 var_inward_rectifier_potassium_current__E_K) -
253 200.0)));
254 const NekDouble var_inward_rectifier_potassium_current__xK1_inf =
255 var_inward_rectifier_potassium_current__alpha_K1 /
256 (var_inward_rectifier_potassium_current__alpha_K1 +
257 var_inward_rectifier_potassium_current__beta_K1);
258 const NekDouble var_inward_rectifier_potassium_current__K_o =
259 var_potassium_dynamics__K_o;
260 const NekDouble var_inward_rectifier_potassium_current__g_K1 =
261 5.405;
262 const NekDouble var_inward_rectifier_potassium_current__i_K1 =
263 var_inward_rectifier_potassium_current__g_K1 *
264 var_inward_rectifier_potassium_current__xK1_inf *
265 sqrt(var_inward_rectifier_potassium_current__K_o / 5.4) *
266 (var_inward_rectifier_potassium_current__V -
267 var_inward_rectifier_potassium_current__E_K);
268 const NekDouble var_transient_outward_current__s =
269 var_chaste_interface__transient_outward_current_s_gate__s;
270 const NekDouble var_transient_outward_current__r =
271 var_chaste_interface__transient_outward_current_r_gate__r;
272 const NekDouble var_transient_outward_current__g_to =
274 const NekDouble var_transient_outward_current__V =
275 var_chaste_interface__membrane__V;
276 const NekDouble var_transient_outward_current__E_K =
277 var_reversal_potentials__E_K;
278 const NekDouble var_transient_outward_current__i_to =
279 var_transient_outward_current__g_to *
280 var_transient_outward_current__r *
281 var_transient_outward_current__s *
282 (var_transient_outward_current__V -
283 var_transient_outward_current__E_K);
284 const NekDouble var_rapid_time_dependent_potassium_current__Xr1 =
285 var_chaste_interface__rapid_time_dependent_potassium_current_Xr1_gate__Xr1;
286 const NekDouble var_rapid_time_dependent_potassium_current__Xr2 =
287 var_chaste_interface__rapid_time_dependent_potassium_current_Xr2_gate__Xr2;
288 const NekDouble var_rapid_time_dependent_potassium_current__V =
289 var_chaste_interface__membrane__V;
290 const NekDouble var_rapid_time_dependent_potassium_current__K_o =
291 var_potassium_dynamics__K_o;
292 const NekDouble var_rapid_time_dependent_potassium_current__E_K =
293 var_reversal_potentials__E_K;
294 const NekDouble var_rapid_time_dependent_potassium_current__g_Kr =
295 0.153;
296 const NekDouble var_rapid_time_dependent_potassium_current__i_Kr =
297 var_rapid_time_dependent_potassium_current__g_Kr *
298 sqrt(var_rapid_time_dependent_potassium_current__K_o / 5.4) *
299 var_rapid_time_dependent_potassium_current__Xr1 *
300 var_rapid_time_dependent_potassium_current__Xr2 *
301 (var_rapid_time_dependent_potassium_current__V -
302 var_rapid_time_dependent_potassium_current__E_K);
303 const NekDouble var_slow_time_dependent_potassium_current__g_Ks =
305 const NekDouble var_sodium_dynamics__Na_o = 140.0;
306 const NekDouble var_reversal_potentials__Na_o =
307 var_sodium_dynamics__Na_o;
308 const NekDouble var_reversal_potentials__Na_i =
309 var_chaste_interface__sodium_dynamics__Na_i;
310 const NekDouble var_reversal_potentials__P_kna = 0.03;
311 const NekDouble var_reversal_potentials__E_Ks =
312 ((var_reversal_potentials__R * var_reversal_potentials__T) /
313 var_reversal_potentials__F) *
314 log((var_reversal_potentials__K_o +
315 (var_reversal_potentials__P_kna *
316 var_reversal_potentials__Na_o)) /
317 (var_reversal_potentials__K_i +
318 (var_reversal_potentials__P_kna *
319 var_reversal_potentials__Na_i)));
320 const NekDouble var_slow_time_dependent_potassium_current__E_Ks =
321 var_reversal_potentials__E_Ks;
322 const NekDouble var_slow_time_dependent_potassium_current__V =
323 var_chaste_interface__membrane__V;
324 const NekDouble var_slow_time_dependent_potassium_current__Xs =
325 var_chaste_interface__slow_time_dependent_potassium_current_Xs_gate__Xs;
326 const NekDouble var_slow_time_dependent_potassium_current__i_Ks =
327 var_slow_time_dependent_potassium_current__g_Ks *
328 pow(var_slow_time_dependent_potassium_current__Xs, 2.0) *
329 (var_slow_time_dependent_potassium_current__V -
330 var_slow_time_dependent_potassium_current__E_Ks);
331 const NekDouble var_L_type_Ca_current__Ca_ss =
332 var_chaste_interface__calcium_dynamics__Ca_ss;
333 const NekDouble var_L_type_Ca_current__g_CaL =
334 3.98e-05;
335 const NekDouble var_L_type_Ca_current__f =
336 var_chaste_interface__L_type_Ca_current_f_gate__f;
337 const NekDouble var_L_type_Ca_current__d =
338 var_chaste_interface__L_type_Ca_current_d_gate__d;
339 const NekDouble var_L_type_Ca_current__F =
340 var_membrane__F;
341 const NekDouble var_L_type_Ca_current__f2 =
342 var_chaste_interface__L_type_Ca_current_f2_gate__f2;
343 const NekDouble var_L_type_Ca_current__fCass =
344 var_chaste_interface__L_type_Ca_current_fCass_gate__fCass;
345 const NekDouble var_L_type_Ca_current__V =
346 var_chaste_interface__membrane__V;
347 const NekDouble var_L_type_Ca_current__T = var_membrane__T;
348 const NekDouble var_calcium_dynamics__Ca_o = 2.0;
349 const NekDouble var_L_type_Ca_current__Ca_o =
350 var_calcium_dynamics__Ca_o;
351 const NekDouble var_L_type_Ca_current__R =
352 var_membrane__R;
353 const NekDouble var_L_type_Ca_current__i_CaL =
354 (((var_L_type_Ca_current__g_CaL * var_L_type_Ca_current__d *
355 var_L_type_Ca_current__f * var_L_type_Ca_current__f2 *
356 var_L_type_Ca_current__fCass * 4.0 *
357 (var_L_type_Ca_current__V - 15.0) *
358 pow(var_L_type_Ca_current__F, 2.0)) /
359 (var_L_type_Ca_current__R * var_L_type_Ca_current__T)) *
360 ((0.25 * var_L_type_Ca_current__Ca_ss *
361 exp((2.0 * (var_L_type_Ca_current__V - 15.0) *
362 var_L_type_Ca_current__F) /
363 (var_L_type_Ca_current__R * var_L_type_Ca_current__T))) -
364 var_L_type_Ca_current__Ca_o)) /
365 (exp((2.0 * (var_L_type_Ca_current__V - 15.0) *
366 var_L_type_Ca_current__F) /
367 (var_L_type_Ca_current__R * var_L_type_Ca_current__T)) -
368 1.0);
369 const NekDouble var_sodium_potassium_pump_current__Na_i =
370 var_chaste_interface__sodium_dynamics__Na_i;
371 const NekDouble var_sodium_potassium_pump_current__R =
372 var_membrane__R;
373 const NekDouble var_sodium_potassium_pump_current__T =
374 var_membrane__T;
375 const NekDouble var_sodium_potassium_pump_current__V =
376 var_chaste_interface__membrane__V;
377 const NekDouble var_sodium_potassium_pump_current__K_mk =
378 1.0;
379 const NekDouble var_sodium_potassium_pump_current__P_NaK =
380 2.724;
381 const NekDouble var_sodium_potassium_pump_current__K_mNa =
382 40.0;
383 const NekDouble var_sodium_potassium_pump_current__F =
384 var_membrane__F;
385 const NekDouble var_sodium_potassium_pump_current__K_o =
386 var_potassium_dynamics__K_o;
387 const NekDouble var_sodium_potassium_pump_current__i_NaK =
388 ((((var_sodium_potassium_pump_current__P_NaK *
389 var_sodium_potassium_pump_current__K_o) /
390 (var_sodium_potassium_pump_current__K_o +
391 var_sodium_potassium_pump_current__K_mk)) *
392 var_sodium_potassium_pump_current__Na_i) /
393 (var_sodium_potassium_pump_current__Na_i +
394 var_sodium_potassium_pump_current__K_mNa)) /
395 (1.0 +
396 (0.1245 * exp(((-0.1) * var_sodium_potassium_pump_current__V *
397 var_sodium_potassium_pump_current__F) /
398 (var_sodium_potassium_pump_current__R *
399 var_sodium_potassium_pump_current__T))) +
400 (0.0353 *
401 exp(((-var_sodium_potassium_pump_current__V) *
402 var_sodium_potassium_pump_current__F) /
403 (var_sodium_potassium_pump_current__R *
404 var_sodium_potassium_pump_current__T))));
405 const NekDouble var_fast_sodium_current__j =
406 var_chaste_interface__fast_sodium_current_j_gate__j;
407 const NekDouble var_fast_sodium_current__h =
408 var_chaste_interface__fast_sodium_current_h_gate__h;
409 const NekDouble var_fast_sodium_current__g_Na =
410 14.838;
411 const NekDouble var_fast_sodium_current__m =
412 var_chaste_interface__fast_sodium_current_m_gate__m;
413 const NekDouble var_fast_sodium_current__V =
414 var_chaste_interface__membrane__V;
415 const NekDouble var_reversal_potentials__E_Na =
416 ((var_reversal_potentials__R * var_reversal_potentials__T) /
417 var_reversal_potentials__F) *
418 log(var_reversal_potentials__Na_o /
419 var_reversal_potentials__Na_i);
420 const NekDouble var_fast_sodium_current__E_Na =
421 var_reversal_potentials__E_Na;
422 const NekDouble var_fast_sodium_current__i_Na =
423 var_fast_sodium_current__g_Na *
424 pow(var_fast_sodium_current__m, 3.0) * var_fast_sodium_current__h *
425 var_fast_sodium_current__j *
426 (var_fast_sodium_current__V -
427 var_fast_sodium_current__E_Na);
428 const NekDouble var_sodium_background_current__V =
429 var_chaste_interface__membrane__V;
430 const NekDouble var_sodium_background_current__E_Na =
431 var_reversal_potentials__E_Na;
432 const NekDouble var_sodium_background_current__g_bna =
433 0.00029;
434 const NekDouble var_sodium_background_current__i_b_Na =
435 var_sodium_background_current__g_bna *
436 (var_sodium_background_current__V -
437 var_sodium_background_current__E_Na);
438 const NekDouble var_sodium_calcium_exchanger_current__alpha =
439 2.5;
440 const NekDouble var_sodium_calcium_exchanger_current__gamma =
441 0.35;
442 const NekDouble var_sodium_calcium_exchanger_current__K_sat =
443 0.1;
444 const NekDouble var_sodium_calcium_exchanger_current__Km_Ca =
445 1.38;
446 const NekDouble var_sodium_calcium_exchanger_current__K_NaCa =
447 1000.0;
448 const NekDouble var_sodium_calcium_exchanger_current__F =
449 var_membrane__F;
450 const NekDouble var_sodium_calcium_exchanger_current__Ca_i =
451 var_chaste_interface__calcium_dynamics__Ca_i;
452 const NekDouble var_sodium_calcium_exchanger_current__Ca_o =
453 var_calcium_dynamics__Ca_o;
454 const NekDouble var_sodium_calcium_exchanger_current__V =
455 var_chaste_interface__membrane__V;
456 const NekDouble var_sodium_calcium_exchanger_current__R =
457 var_membrane__R;
458 const NekDouble var_sodium_calcium_exchanger_current__Km_Nai =
459 87.5;
460 const NekDouble var_sodium_calcium_exchanger_current__Na_o =
461 var_sodium_dynamics__Na_o;
462 const NekDouble var_sodium_calcium_exchanger_current__Na_i =
463 var_chaste_interface__sodium_dynamics__Na_i;
464 const NekDouble var_sodium_calcium_exchanger_current__T =
465 var_membrane__T;
466 const NekDouble var_sodium_calcium_exchanger_current__i_NaCa =
467 (var_sodium_calcium_exchanger_current__K_NaCa *
468 ((exp((var_sodium_calcium_exchanger_current__gamma *
469 var_sodium_calcium_exchanger_current__V *
470 var_sodium_calcium_exchanger_current__F) /
471 (var_sodium_calcium_exchanger_current__R *
472 var_sodium_calcium_exchanger_current__T)) *
473 pow(var_sodium_calcium_exchanger_current__Na_i, 3.0) *
474 var_sodium_calcium_exchanger_current__Ca_o) -
475 (exp(((var_sodium_calcium_exchanger_current__gamma - 1.0) *
476 var_sodium_calcium_exchanger_current__V *
477 var_sodium_calcium_exchanger_current__F) /
478 (var_sodium_calcium_exchanger_current__R *
479 var_sodium_calcium_exchanger_current__T)) *
480 pow(var_sodium_calcium_exchanger_current__Na_o, 3.0) *
481 var_sodium_calcium_exchanger_current__Ca_i *
482 var_sodium_calcium_exchanger_current__alpha))) /
483 ((pow(var_sodium_calcium_exchanger_current__Km_Nai, 3.0) +
484 pow(var_sodium_calcium_exchanger_current__Na_o, 3.0)) *
485 (var_sodium_calcium_exchanger_current__Km_Ca +
486 var_sodium_calcium_exchanger_current__Ca_o) *
487 (1.0 +
488 (var_sodium_calcium_exchanger_current__K_sat *
489 exp(((var_sodium_calcium_exchanger_current__gamma - 1.0) *
490 var_sodium_calcium_exchanger_current__V *
491 var_sodium_calcium_exchanger_current__F) /
492 (var_sodium_calcium_exchanger_current__R *
493 var_sodium_calcium_exchanger_current__T)))));
494 const NekDouble var_reversal_potentials__Ca_o =
495 var_calcium_dynamics__Ca_o;
496 const NekDouble var_reversal_potentials__Ca_i =
497 var_chaste_interface__calcium_dynamics__Ca_i;
498 const NekDouble var_reversal_potentials__E_Ca =
499 ((0.5 * var_reversal_potentials__R * var_reversal_potentials__T) /
500 var_reversal_potentials__F) *
501 log(var_reversal_potentials__Ca_o /
502 var_reversal_potentials__Ca_i);
503 const NekDouble var_calcium_background_current__E_Ca =
504 var_reversal_potentials__E_Ca;
505 const NekDouble var_calcium_background_current__g_bca =
506 0.000592;
507 const NekDouble var_calcium_background_current__V =
508 var_chaste_interface__membrane__V;
509 const NekDouble var_calcium_background_current__i_b_Ca =
510 var_calcium_background_current__g_bca *
511 (var_calcium_background_current__V -
512 var_calcium_background_current__E_Ca);
513 const NekDouble var_potassium_pump_current__g_pK =
514 0.0146;
515 const NekDouble var_potassium_pump_current__V =
516 var_chaste_interface__membrane__V;
517 const NekDouble var_potassium_pump_current__E_K =
518 var_reversal_potentials__E_K;
519 const NekDouble var_potassium_pump_current__i_p_K =
520 (var_potassium_pump_current__g_pK *
521 (var_potassium_pump_current__V -
522 var_potassium_pump_current__E_K)) /
523 (1.0 + exp((25.0 - var_potassium_pump_current__V) /
524 5.98));
525 const NekDouble var_calcium_pump_current__K_pCa = 0.0005;
526 const NekDouble var_calcium_pump_current__Ca_i =
527 var_chaste_interface__calcium_dynamics__Ca_i;
528 const NekDouble var_calcium_pump_current__g_pCa =
529 0.1238;
530 const NekDouble var_calcium_pump_current__i_p_Ca =
531 (var_calcium_pump_current__g_pCa * var_calcium_pump_current__Ca_i) /
532 (var_calcium_pump_current__Ca_i +
533 var_calcium_pump_current__K_pCa);
534 const NekDouble var_chaste_interface__membrane__i_Stim = 0.0;
535 const NekDouble var_rapid_time_dependent_potassium_current_Xr1_gate__V =
536 var_rapid_time_dependent_potassium_current__V;
538 var_rapid_time_dependent_potassium_current_Xr1_gate__alpha_xr1 =
539 450.0 /
540 (1.0 +
541 exp(((-45.0) -
542 var_rapid_time_dependent_potassium_current_Xr1_gate__V) /
543 10.0));
545 var_rapid_time_dependent_potassium_current_Xr1_gate__beta_xr1 =
546 6.0 /
547 (1.0 +
548 exp((var_rapid_time_dependent_potassium_current_Xr1_gate__V +
549 30.0) /
550 11.5));
552 var_rapid_time_dependent_potassium_current_Xr1_gate__tau_xr1 =
553 1.0 *
554 var_rapid_time_dependent_potassium_current_Xr1_gate__alpha_xr1 *
555 var_rapid_time_dependent_potassium_current_Xr1_gate__beta_xr1;
557 var_rapid_time_dependent_potassium_current_Xr1_gate__xr1_inf =
558 1.0 /
559 (1.0 +
560 exp(((-26.0) -
561 var_rapid_time_dependent_potassium_current_Xr1_gate__V) /
562 7.0));
563 const NekDouble var_rapid_time_dependent_potassium_current_Xr2_gate__V =
564 var_rapid_time_dependent_potassium_current__V;
566 var_rapid_time_dependent_potassium_current_Xr2_gate__alpha_xr2 =
567 3.0 /
568 (1.0 +
569 exp(((-60.0) -
570 var_rapid_time_dependent_potassium_current_Xr2_gate__V) /
571 20.0));
573 var_rapid_time_dependent_potassium_current_Xr2_gate__beta_xr2 =
574 1.12 /
575 (1.0 +
576 exp((var_rapid_time_dependent_potassium_current_Xr2_gate__V -
577 60.0) /
578 20.0));
580 var_rapid_time_dependent_potassium_current_Xr2_gate__tau_xr2 =
581 1.0 *
582 var_rapid_time_dependent_potassium_current_Xr2_gate__alpha_xr2 *
583 var_rapid_time_dependent_potassium_current_Xr2_gate__beta_xr2;
585 var_rapid_time_dependent_potassium_current_Xr2_gate__xr2_inf =
586 1.0 /
587 (1.0 +
588 exp((var_rapid_time_dependent_potassium_current_Xr2_gate__V +
589 88.0) /
590 24.0));
591 const NekDouble var_slow_time_dependent_potassium_current_Xs_gate__V =
592 var_slow_time_dependent_potassium_current__V;
594 var_slow_time_dependent_potassium_current_Xs_gate__beta_xs =
595 1.0 /
596 (1.0 +
597 exp((var_slow_time_dependent_potassium_current_Xs_gate__V -
598 35.0) /
599 15.0));
601 var_slow_time_dependent_potassium_current_Xs_gate__alpha_xs =
602 1400.0 /
604 1.0 +
605 exp((5.0 -
606 var_slow_time_dependent_potassium_current_Xs_gate__V) /
607 6.0));
609 var_slow_time_dependent_potassium_current_Xs_gate__tau_xs =
610 (1.0 *
611 var_slow_time_dependent_potassium_current_Xs_gate__alpha_xs *
612 var_slow_time_dependent_potassium_current_Xs_gate__beta_xs) +
613 80.0;
615 var_slow_time_dependent_potassium_current_Xs_gate__xs_inf =
616 1.0 /
617 (1.0 +
618 exp(((-5.0) -
619 var_slow_time_dependent_potassium_current_Xs_gate__V) /
620 14.0));
621 const NekDouble var_fast_sodium_current_m_gate__V =
622 var_fast_sodium_current__V;
623 const NekDouble var_fast_sodium_current_m_gate__alpha_m =
624 1.0 / (1.0 + exp(((-60.0) - var_fast_sodium_current_m_gate__V) /
625 5.0));
626 const NekDouble var_fast_sodium_current_m_gate__beta_m =
627 (0.1 /
628 (1.0 + exp((var_fast_sodium_current_m_gate__V + 35.0) / 5.0))) +
629 (0.1 / (1.0 + exp((var_fast_sodium_current_m_gate__V - 50.0) /
630 200.0)));
631 const NekDouble var_fast_sodium_current_m_gate__tau_m =
632 1.0 * var_fast_sodium_current_m_gate__alpha_m *
633 var_fast_sodium_current_m_gate__beta_m;
634 const NekDouble var_fast_sodium_current_m_gate__m_inf =
635 1.0 / pow(1.0 + exp(((-56.86) - var_fast_sodium_current_m_gate__V) /
636 9.03),
637 2.0);
638 const NekDouble var_fast_sodium_current_h_gate__V =
639 var_fast_sodium_current__V;
640 const NekDouble var_fast_sodium_current_h_gate__h_inf =
641 1.0 /
642 pow(1.0 + exp((var_fast_sodium_current_h_gate__V + 71.55) / 7.43),
643 2.0);
644 const NekDouble var_fast_sodium_current_h_gate__beta_h =
645 (var_fast_sodium_current_h_gate__V < (-40.0))
646 ? ((2.7 * exp(0.079 * var_fast_sodium_current_h_gate__V)) +
647 (310000.0 * exp(0.3485 * var_fast_sodium_current_h_gate__V)))
648 : (0.77 /
649 (0.13 *
650 (1.0 + exp((var_fast_sodium_current_h_gate__V + 10.66) /
651 (-11.1)))));
652 const NekDouble var_fast_sodium_current_h_gate__alpha_h =
653 (var_fast_sodium_current_h_gate__V < (-40.0))
654 ? (0.057 *
655 exp((-(var_fast_sodium_current_h_gate__V + 80.0)) / 6.8))
656 : 0.0;
657 const NekDouble var_fast_sodium_current_h_gate__tau_h =
658 1.0 / (var_fast_sodium_current_h_gate__alpha_h +
659 var_fast_sodium_current_h_gate__beta_h);
660 const NekDouble var_fast_sodium_current_j_gate__V =
661 var_fast_sodium_current__V;
662 const NekDouble var_fast_sodium_current_j_gate__j_inf =
663 1.0 /
664 pow(1.0 + exp((var_fast_sodium_current_j_gate__V + 71.55) / 7.43),
665 2.0);
666 const NekDouble var_fast_sodium_current_j_gate__alpha_j =
667 (var_fast_sodium_current_j_gate__V < (-40.0))
668 ? ((((((-25428.0) *
669 exp(0.2444 * var_fast_sodium_current_j_gate__V)) -
670 (6.948e-06 *
671 exp((-0.04391) * var_fast_sodium_current_j_gate__V))) *
672 (var_fast_sodium_current_j_gate__V + 37.78)) /
673 1.0) /
674 (1.0 +
675 exp(0.311 * (var_fast_sodium_current_j_gate__V + 79.23))))
676 : 0.0;
677 const NekDouble var_fast_sodium_current_j_gate__beta_j =
678 (var_fast_sodium_current_j_gate__V < (-40.0))
679 ? ((0.02424 *
680 exp((-0.01052) * var_fast_sodium_current_j_gate__V)) /
681 (1.0 + exp((-0.1378) *
682 (var_fast_sodium_current_j_gate__V + 40.14))))
683 : ((0.6 * exp(0.057 * var_fast_sodium_current_j_gate__V)) /
684 (1.0 + exp((-0.1) * (var_fast_sodium_current_j_gate__V +
685 32.0))));
686 const NekDouble var_fast_sodium_current_j_gate__tau_j =
687 1.0 / (var_fast_sodium_current_j_gate__alpha_j +
688 var_fast_sodium_current_j_gate__beta_j);
689 const NekDouble var_L_type_Ca_current_d_gate__V =
690 var_L_type_Ca_current__V;
691 const NekDouble var_L_type_Ca_current_d_gate__alpha_d =
692 (1.4 /
693 (1.0 + exp(((-35.0) - var_L_type_Ca_current_d_gate__V) / 13.0))) +
694 0.25;
695 const NekDouble var_L_type_Ca_current_d_gate__gamma_d =
696 1.0 / (1.0 + exp((50.0 - var_L_type_Ca_current_d_gate__V) /
697 20.0));
698 const NekDouble var_L_type_Ca_current_d_gate__beta_d =
699 1.4 / (1.0 + exp((var_L_type_Ca_current_d_gate__V + 5.0) /
700 5.0));
701 const NekDouble var_L_type_Ca_current_d_gate__tau_d =
702 (1.0 * var_L_type_Ca_current_d_gate__alpha_d *
703 var_L_type_Ca_current_d_gate__beta_d) +
704 var_L_type_Ca_current_d_gate__gamma_d;
705 const NekDouble var_L_type_Ca_current_d_gate__d_inf =
706 1.0 / (1.0 + exp(((-8.0) - var_L_type_Ca_current_d_gate__V) /
707 7.5));
708 const NekDouble var_L_type_Ca_current_f_gate__V =
709 var_L_type_Ca_current__V;
710 const NekDouble var_L_type_Ca_current_f_gate__tau_f =
711 (1102.5 *
712 exp((-pow(var_L_type_Ca_current_f_gate__V + 27.0, 2.0)) / 225.0)) +
713 (200.0 /
714 (1.0 + exp((13.0 - var_L_type_Ca_current_f_gate__V) / 10.0))) +
715 (180.0 /
716 (1.0 + exp((var_L_type_Ca_current_f_gate__V + 30.0) / 10.0))) +
717 20.0;
718 const NekDouble var_L_type_Ca_current_f_gate__f_inf =
719 1.0 / (1.0 + exp((var_L_type_Ca_current_f_gate__V + 20.0) /
720 7.0));
721 const NekDouble var_L_type_Ca_current_f2_gate__V =
722 var_L_type_Ca_current__V;
723 const NekDouble var_L_type_Ca_current_f2_gate__f2_inf =
724 (0.67 /
725 (1.0 + exp((var_L_type_Ca_current_f2_gate__V + 35.0) / 7.0))) +
726 0.33;
727 const NekDouble var_L_type_Ca_current_f2_gate__tau_f2 =
728 (562.0 * exp((-pow(var_L_type_Ca_current_f2_gate__V + 27.0, 2.0)) /
729 240.0)) +
730 (31.0 /
731 (1.0 + exp((25.0 - var_L_type_Ca_current_f2_gate__V) / 10.0))) +
732 (80.0 / (1.0 + exp((var_L_type_Ca_current_f2_gate__V + 30.0) /
733 10.0)));
734 const NekDouble var_L_type_Ca_current_fCass_gate__Ca_ss =
735 var_L_type_Ca_current__Ca_ss;
736 const NekDouble var_L_type_Ca_current_fCass_gate__tau_fCass =
737 (80.0 /
738 (1.0 + pow(var_L_type_Ca_current_fCass_gate__Ca_ss / 0.05, 2.0))) +
739 2.0;
740 const NekDouble var_L_type_Ca_current_fCass_gate__fCass_inf =
741 (0.6 /
742 (1.0 + pow(var_L_type_Ca_current_fCass_gate__Ca_ss / 0.05, 2.0))) +
743 0.4;
744 const NekDouble var_transient_outward_current_s_gate__V =
745 var_transient_outward_current__V;
746 const NekDouble var_transient_outward_current_s_gate__s_inf =
747 1.0 / (1.0 + exp((var_transient_outward_current_s_gate__V +
749 5.0));
750 const NekDouble var_transient_outward_current_s_gate__tau_s =
752 exp((-pow(var_transient_outward_current_s_gate__V +
s_tau_f2,
753 2.0)) /
757 ((5.0 /
758 (1.0 + exp((var_transient_outward_current_s_gate__V - 20.0) /
759 5.0))) +
760 3.0);
761 const NekDouble var_transient_outward_current_r_gate__V =
762 var_transient_outward_current__V;
763 const NekDouble var_transient_outward_current_r_gate__r_inf =
764 1.0 / (1.0 + exp((20.0 - var_transient_outward_current_r_gate__V) /
765 6.0));
766 const NekDouble var_transient_outward_current_r_gate__tau_r =
767 (9.5 *
768 exp((-pow(var_transient_outward_current_r_gate__V + 40.0, 2.0)) /
769 1800.0)) +
770 0.8;
771 const NekDouble var_calcium_dynamics__Ca_i =
772 var_chaste_interface__calcium_dynamics__Ca_i;
773 const NekDouble var_calcium_dynamics__Ca_SR =
774 var_chaste_interface__calcium_dynamics__Ca_SR;
775 const NekDouble var_calcium_dynamics__Ca_ss =
776 var_chaste_interface__calcium_dynamics__Ca_ss;
777 const NekDouble var_calcium_dynamics__V_rel = 0.102;
778 const NekDouble var_calcium_dynamics__R_prime =
779 var_chaste_interface__calcium_dynamics__R_prime;
780 const NekDouble var_calcium_dynamics__k1_prime =
781 0.15;
782 const NekDouble var_calcium_dynamics__max_sr = 2.5;
783 const NekDouble var_calcium_dynamics__EC = 1.5;
784 const NekDouble var_calcium_dynamics__min_sr = 1.0;
785 const NekDouble var_calcium_dynamics__kcasr =
786 var_calcium_dynamics__max_sr -
787 ((var_calcium_dynamics__max_sr - var_calcium_dynamics__min_sr) /
788 (1.0 + pow(var_calcium_dynamics__EC / var_calcium_dynamics__Ca_SR,
789 2.0)));
790 const NekDouble var_calcium_dynamics__k1 =
791 var_calcium_dynamics__k1_prime /
792 var_calcium_dynamics__kcasr;
793 const NekDouble var_calcium_dynamics__k3 = 0.06;
794 const NekDouble var_calcium_dynamics__O =
795 (var_calcium_dynamics__k1 * pow(var_calcium_dynamics__Ca_ss, 2.0) *
796 var_calcium_dynamics__R_prime) /
797 (var_calcium_dynamics__k3 +
798 (var_calcium_dynamics__k1 *
799 pow(var_calcium_dynamics__Ca_ss, 2.0)));
800 const NekDouble var_calcium_dynamics__i_rel =
801 var_calcium_dynamics__V_rel * var_calcium_dynamics__O *
802 (var_calcium_dynamics__Ca_SR -
803 var_calcium_dynamics__Ca_ss);
804 const NekDouble var_calcium_dynamics__Vmax_up =
805 0.006375;
806 const NekDouble var_calcium_dynamics__K_up = 0.00025;
807 const NekDouble var_calcium_dynamics__i_up =
808 var_calcium_dynamics__Vmax_up /
809 (1.0 + (pow(var_calcium_dynamics__K_up, 2.0) /
810 pow(var_calcium_dynamics__Ca_i,
811 2.0)));
812 const NekDouble var_calcium_dynamics__V_leak =
813 0.00036;
814 const NekDouble var_calcium_dynamics__i_leak =
815 var_calcium_dynamics__V_leak *
816 (var_calcium_dynamics__Ca_SR -
817 var_calcium_dynamics__Ca_i);
818 const NekDouble var_calcium_dynamics__V_xfer =
819 0.0038;
820 const NekDouble var_calcium_dynamics__i_xfer =
821 var_calcium_dynamics__V_xfer *
822 (var_calcium_dynamics__Ca_ss -
823 var_calcium_dynamics__Ca_i);
824 const NekDouble var_calcium_dynamics__k2_prime =
825 0.045;
826 const NekDouble var_calcium_dynamics__k2 =
827 var_calcium_dynamics__k2_prime *
828 var_calcium_dynamics__kcasr;
829 const NekDouble var_calcium_dynamics__k4 = 0.005;
830 const NekDouble var_calcium_dynamics__Buf_c = 0.2;
831 const NekDouble var_calcium_dynamics__K_buf_c = 0.001;
832 const NekDouble var_calcium_dynamics__Ca_i_bufc =
833 1.0 /
834 (1.0 +
835 ((var_calcium_dynamics__Buf_c * var_calcium_dynamics__K_buf_c) /
836 pow(var_calcium_dynamics__Ca_i + var_calcium_dynamics__K_buf_c,
837 2.0)));
838 const NekDouble var_calcium_dynamics__K_buf_sr = 0.3;
839 const NekDouble var_calcium_dynamics__Buf_sr = 10.0;
840 const NekDouble var_calcium_dynamics__Ca_sr_bufsr =
841 1.0 /
842 (1.0 +
843 ((var_calcium_dynamics__Buf_sr * var_calcium_dynamics__K_buf_sr) /
844 pow(var_calcium_dynamics__Ca_SR + var_calcium_dynamics__K_buf_sr,
845 2.0)));
846 const NekDouble var_calcium_dynamics__Buf_ss = 0.4;
847 const NekDouble var_calcium_dynamics__K_buf_ss = 0.00025;
848 const NekDouble var_calcium_dynamics__Ca_ss_bufss =
849 1.0 /
850 (1.0 +
851 ((var_calcium_dynamics__Buf_ss * var_calcium_dynamics__K_buf_ss) /
852 pow(var_calcium_dynamics__Ca_ss + var_calcium_dynamics__K_buf_ss,
853 2.0)));
854 const NekDouble var_calcium_dynamics__V_sr = 0.001094;
855 const NekDouble var_calcium_dynamics__V_ss = 5.468e-05;
856 const NekDouble var_calcium_dynamics__V_c =
857 var_membrane__V_c;
858 const NekDouble var_calcium_dynamics__F =
859 var_membrane__F;
860 const NekDouble var_calcium_dynamics__Cm = var_membrane__Cm;
861 const NekDouble var_calcium_dynamics__i_CaL =
862 var_L_type_Ca_current__i_CaL;
863 const NekDouble var_calcium_dynamics__i_NaCa =
864 var_sodium_calcium_exchanger_current__i_NaCa;
865 const NekDouble var_calcium_dynamics__i_p_Ca =
866 var_calcium_pump_current__i_p_Ca;
867 const NekDouble var_calcium_dynamics__i_b_Ca =
868 var_calcium_background_current__i_b_Ca;
869 const NekDouble var_calcium_dynamics__d_Ca_i_d_environment__time =
870 var_calcium_dynamics__Ca_i_bufc *
871 (((((var_calcium_dynamics__i_leak - var_calcium_dynamics__i_up) *
872 var_calcium_dynamics__V_sr) /
873 var_calcium_dynamics__V_c) +
874 var_calcium_dynamics__i_xfer) -
875 ((1.0 *
876 ((var_calcium_dynamics__i_b_Ca + var_calcium_dynamics__i_p_Ca) -
877 (2.0 * var_calcium_dynamics__i_NaCa)) *
878 var_calcium_dynamics__Cm) /
879 (2.0 * 1.0 * var_calcium_dynamics__V_c *
880 var_calcium_dynamics__F)));
881
882 const NekDouble var_calcium_dynamics__d_Ca_SR_d_environment__time =
883 var_calcium_dynamics__Ca_sr_bufsr *
884 (var_calcium_dynamics__i_up -
885 (var_calcium_dynamics__i_rel +
886 var_calcium_dynamics__i_leak));
887
888 const NekDouble var_calcium_dynamics__d_Ca_ss_d_environment__time =
889 var_calcium_dynamics__Ca_ss_bufss *
890 (((((-1.0) * var_calcium_dynamics__i_CaL *
891 var_calcium_dynamics__Cm) /
892 (2.0 * 1.0 * var_calcium_dynamics__V_ss *
893 var_calcium_dynamics__F)) +
894 ((var_calcium_dynamics__i_rel * var_calcium_dynamics__V_sr) /
895 var_calcium_dynamics__V_ss)) -
896 ((var_calcium_dynamics__i_xfer * var_calcium_dynamics__V_c) /
897 var_calcium_dynamics__V_ss));
898
899 const NekDouble var_calcium_dynamics__d_R_prime_d_environment__time =
900 ((-var_calcium_dynamics__k2) * var_calcium_dynamics__Ca_ss *
901 var_calcium_dynamics__R_prime) +
902 (var_calcium_dynamics__k4 *
903 (1.0 - var_calcium_dynamics__R_prime));
905 var_membrane__F;
906 const NekDouble var_sodium_dynamics__Cm = var_membrane__Cm;
907 const NekDouble var_sodium_dynamics__V_c =
908 var_membrane__V_c;
909 const NekDouble var_sodium_dynamics__i_Na =
910 var_fast_sodium_current__i_Na;
911 const NekDouble var_sodium_dynamics__i_NaCa =
912 var_sodium_calcium_exchanger_current__i_NaCa;
913 const NekDouble var_sodium_dynamics__i_NaK =
914 var_sodium_potassium_pump_current__i_NaK;
915 const NekDouble var_sodium_dynamics__i_b_Na =
916 var_sodium_background_current__i_b_Na;
917 const NekDouble var_sodium_dynamics__d_Na_i_d_environment__time =
918 (((-1.0) *
919 (var_sodium_dynamics__i_Na + var_sodium_dynamics__i_b_Na +
920 (3.0 * var_sodium_dynamics__i_NaK) +
921 (3.0 * var_sodium_dynamics__i_NaCa))) /
922 (1.0 * var_sodium_dynamics__V_c * var_sodium_dynamics__F)) *
923 var_sodium_dynamics__Cm;
924 const NekDouble var_potassium_dynamics__F =
925 var_membrane__F;
926 const NekDouble var_potassium_dynamics__Cm = var_membrane__Cm;
927 const NekDouble var_potassium_dynamics__V_c =
928 var_membrane__V_c;
929 const NekDouble var_potassium_dynamics__i_K1 =
930 var_inward_rectifier_potassium_current__i_K1;
931 const NekDouble var_potassium_dynamics__i_to =
932 var_transient_outward_current__i_to;
933 const NekDouble var_potassium_dynamics__i_NaK =
934 var_sodium_potassium_pump_current__i_NaK;
935 const NekDouble var_potassium_dynamics__i_Kr =
936 var_rapid_time_dependent_potassium_current__i_Kr;
937 const NekDouble var_potassium_dynamics__i_Ks =
938 var_slow_time_dependent_potassium_current__i_Ks;
939 const NekDouble var_potassium_dynamics__i_p_K =
940 var_potassium_pump_current__i_p_K;
942 var_potassium_dynamics__chaste_interface__chaste_membrane_capacitance =
943 1.0;
944 const NekDouble var_potassium_dynamics__i_Stim_converter =
945 var_chaste_interface__membrane__i_Stim;
946 const NekDouble var_potassium_dynamics__i_Stim =
947 var_potassium_dynamics__i_Stim_converter /
948 var_potassium_dynamics__chaste_interface__chaste_membrane_capacitance;
949 const NekDouble var_potassium_dynamics__d_K_i_d_environment__time =
950 (((-1.0) *
951 ((var_potassium_dynamics__i_K1 + var_potassium_dynamics__i_to +
952 var_potassium_dynamics__i_Kr + var_potassium_dynamics__i_Ks +
953 var_potassium_dynamics__i_p_K +
954 var_potassium_dynamics__i_Stim) -
955 (2.0 * var_potassium_dynamics__i_NaK))) /
956 (1.0 * var_potassium_dynamics__V_c * var_potassium_dynamics__F)) *
957 var_potassium_dynamics__Cm;
959 var_chaste_interface__calcium_dynamics__d_Ca_i_d_environment__time =
960 var_calcium_dynamics__d_Ca_i_d_environment__time;
962 var_chaste_interface__calcium_dynamics__d_Ca_SR_d_environment__time =
963 var_calcium_dynamics__d_Ca_SR_d_environment__time;
965 var_chaste_interface__calcium_dynamics__d_Ca_ss_d_environment__time =
966 var_calcium_dynamics__d_Ca_ss_d_environment__time;
968 var_chaste_interface__calcium_dynamics__d_R_prime_d_environment__time =
969 var_calcium_dynamics__d_R_prime_d_environment__time;
971 var_chaste_interface__sodium_dynamics__d_Na_i_d_environment__time =
972 var_sodium_dynamics__d_Na_i_d_environment__time;
974 var_chaste_interface__potassium_dynamics__d_K_i_d_environment__time =
975 var_potassium_dynamics__d_K_i_d_environment__time;
976 const NekDouble d_dt_chaste_interface__calcium_dynamics__Ca_i =
977 var_chaste_interface__calcium_dynamics__d_Ca_i_d_environment__time;
978 const NekDouble d_dt_chaste_interface__calcium_dynamics__Ca_SR =
979 var_chaste_interface__calcium_dynamics__d_Ca_SR_d_environment__time;
980 const NekDouble d_dt_chaste_interface__calcium_dynamics__Ca_ss =
981 var_chaste_interface__calcium_dynamics__d_Ca_ss_d_environment__time;
982 const NekDouble d_dt_chaste_interface__calcium_dynamics__R_prime =
983 var_chaste_interface__calcium_dynamics__d_R_prime_d_environment__time;
984 const NekDouble d_dt_chaste_interface__sodium_dynamics__Na_i =
985 var_chaste_interface__sodium_dynamics__d_Na_i_d_environment__time;
986 const NekDouble d_dt_chaste_interface__potassium_dynamics__K_i =
987 var_chaste_interface__potassium_dynamics__d_K_i_d_environment__time;
988
990 var_inward_rectifier_potassium_current__i_K1;
992 var_transient_outward_current__i_to;
994 var_rapid_time_dependent_potassium_current__i_Kr;
996 var_slow_time_dependent_potassium_current__i_Ks;
998 var_L_type_Ca_current__i_CaL;
1000 var_sodium_potassium_pump_current__i_NaK;
1002 var_fast_sodium_current__i_Na;
1004 var_sodium_background_current__i_b_Na;
1006 var_sodium_calcium_exchanger_current__i_NaCa;
1008 var_calcium_background_current__i_b_Ca;
1010 var_potassium_pump_current__i_p_K;
1012 var_calcium_pump_current__i_p_Ca;
1013 const NekDouble var_membrane__i_Stim_converter =
1014 var_chaste_interface__membrane__i_Stim;
1016 var_membrane__chaste_interface__chaste_membrane_capacitance =
1017 1.0;
1019 var_membrane__i_Stim_converter /
1020 var_membrane__chaste_interface__chaste_membrane_capacitance;
1021 const NekDouble var_membrane__d_V_d_environment__time =
1022 ((-1.0) / 1.0) *
1023 (var_membrane__i_K1 + var_membrane__i_to + var_membrane__i_Kr +
1024 var_membrane__i_Ks + var_membrane__i_CaL + var_membrane__i_NaK +
1025 var_membrane__i_Na + var_membrane__i_b_Na + var_membrane__i_NaCa +
1026 var_membrane__i_b_Ca + var_membrane__i_p_K + var_membrane__i_p_Ca +
1027 var_membrane__i_Stim);
1029 var_chaste_interface__membrane__d_V_d_environment__time =
1030 var_membrane__d_V_d_environment__time;
1031 d_dt_chaste_interface__membrane__V =
1032 var_chaste_interface__membrane__d_V_d_environment__time;
1033
1034
1035 outarray[0][i] = d_dt_chaste_interface__membrane__V;
1036 outarray[1][i] =
1037 var_rapid_time_dependent_potassium_current_Xr1_gate__xr1_inf;
1039 var_rapid_time_dependent_potassium_current_Xr1_gate__tau_xr1;
1040 outarray[2][i] =
1041 var_rapid_time_dependent_potassium_current_Xr2_gate__xr2_inf;
1043 var_rapid_time_dependent_potassium_current_Xr2_gate__tau_xr2;
1044 outarray[3][i] =
1045 var_slow_time_dependent_potassium_current_Xs_gate__xs_inf;
1047 var_slow_time_dependent_potassium_current_Xs_gate__tau_xs;
1048 outarray[4][i] = var_fast_sodium_current_m_gate__m_inf;
1049 m_gates_tau[3][i] = var_fast_sodium_current_m_gate__tau_m;
1050 outarray[5][i] = var_fast_sodium_current_h_gate__h_inf;
1051 m_gates_tau[4][i] = var_fast_sodium_current_h_gate__tau_h;
1052 outarray[6][i] = var_fast_sodium_current_j_gate__j_inf;
1053 m_gates_tau[5][i] = var_fast_sodium_current_j_gate__tau_j;
1054 outarray[7][i] = var_L_type_Ca_current_d_gate__d_inf;
1055 m_gates_tau[6][i] = var_L_type_Ca_current_d_gate__tau_d;
1056 outarray[8][i] = var_L_type_Ca_current_f_gate__f_inf;
1057 m_gates_tau[7][i] = var_L_type_Ca_current_f_gate__tau_f;
1058 outarray[9][i] = var_L_type_Ca_current_f2_gate__f2_inf;
1059 m_gates_tau[8][i] = var_L_type_Ca_current_f2_gate__tau_f2;
1060 outarray[10][i] = var_L_type_Ca_current_fCass_gate__fCass_inf;
1061 m_gates_tau[9][i] = var_L_type_Ca_current_fCass_gate__tau_fCass;
1062 outarray[11][i] = var_transient_outward_current_s_gate__s_inf;
1063 m_gates_tau[10][i] = var_transient_outward_current_s_gate__tau_s;
1064 outarray[12][i] = var_transient_outward_current_r_gate__r_inf;
1065 m_gates_tau[11][i] = var_transient_outward_current_r_gate__tau_r;
1066 outarray[13][i] = d_dt_chaste_interface__calcium_dynamics__Ca_i;
1067 outarray[14][i] = d_dt_chaste_interface__calcium_dynamics__Ca_SR;
1068 outarray[15][i] = d_dt_chaste_interface__calcium_dynamics__Ca_ss;
1069 outarray[16][i] = d_dt_chaste_interface__calcium_dynamics__R_prime;
1070 outarray[17][i] = d_dt_chaste_interface__sodium_dynamics__Na_i;
1071 outarray[18][i] = d_dt_chaste_interface__potassium_dynamics__K_i;
1072 }
1073}
Array< OneD, Array< OneD, NekDouble > > m_gates_tau
Storage for gate tau values.
scalarT< T > log(scalarT< T > in)
scalarT< T > sqrt(scalarT< T > in)