Choral
Functions/Subroutines
ode_cardio_0d.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

program ode_cardio_0d
  RESOLUTION OF the MEMBRANE EQUATION in cardiac-electrophysiology More...
 
real(rp) function stim (x, t)
 
subroutine ode_reaction (a, b, x, t, y, N, Na)
 

Function/Subroutine Documentation

◆ ode_cardio_0d()

program ode_cardio_0d ( )

RESOLUTION OF the MEMBRANE EQUATION in cardiac-electrophysiology

This (0D) differential equation models the action potential of a single cardiac cell.

\( ~~~~~~~~~~~~~~~~\displaystyle{ \frac{{\rm d} Y_i}{{\rm d} t } = F_i(Y), \quad \quad i=1\dots N-1,}\)

\( ~~~~~~~~~~~~~~~~\displaystyle{ \frac{{\rm d} V}{{\rm d} t } = I_{\rm ion}(Y) + I_{\rm app}(t), \quad {\rm with} \quad V = Y_N. }\)

Settings:

  • Beeler Reuter cellular model (can be switched to TNNP)
  • smooth stimulation

Numerical method:

  • stabilised time stepping method (can be modified):
  • Rush-Larsen of order 3 for the ionic model ODE system

Output: (with the software gnuplot)

  • Potential V(t) during for one action potencial cycle

Charles PIERRE

Definition at line 31 of file ode_cardio_0d.f90.

Here is the call graph for this function:

◆ ode_reaction()

subroutine ode_cardio_0d::ode_reaction ( real(rp), dimension(na), intent(out)  a,
real(rp), dimension(n), intent(out)  b,
real(rp), dimension(3), intent(in)  x,
real(rp), intent(in)  t,
real(rp), dimension(n), intent(in)  y,
integer, intent(in)  N,
integer, intent(in)  Na 
)

Definition at line 189 of file ode_cardio_0d.f90.

Here is the call graph for this function:

◆ stim()

real(rp) function ode_cardio_0d::stim ( real(rp), dimension(3), intent(in)  x,
real(rp), intent(in)  t 
)

Definition at line 172 of file ode_cardio_0d.f90.