Choral
Data Types | Functions/Subroutines
stimulation_mod Module Reference

DERIVED TYPE stimulation More...

Data Types

interface  stimulation
 Derived type stimulation.

More...
 

Functions/Subroutines

type(stimulation) function stimulation_create (f, L, t0, Rt, Rx, x0)
  Constructor for the type stimulation More...
 
real(rp) function stim (s, x, t)
 

Detailed Description

DERIVED TYPE stimulation

Pre-defined stimulation (or applied stimulation current) used for models in electrophysiology

A stimulation is a space and time function \( I_{\rm app}(x,t) \) that is localised in space and in time.

It is defined as \( I_{\rm app}(x,t) = \lambda g_1(x) g_2(t) \) With:

See stimulation_create.

Author
Charles Pierre

Function/Subroutine Documentation

◆ stim()

real(rp) function stimulation_mod::stim ( class(stimulation), intent(in)  s,
real(rp), dimension(3), intent(in)  x,
real(rp), intent(in)  t 
)

Definition at line 156 of file stimulation_mod.f90.

◆ stimulation_create()

type(stimulation) function stimulation_mod::stimulation_create ( procedure(rtor)  f,
real(rp), intent(in)  L,
real(rp), intent(in)  t0,
real(rp), intent(in)  Rt,
real(rp), intent(in)  Rx,
real(rp), dimension(3), intent(in), optional  x0 
)

Constructor for the type stimulation

  • OUTPUT:
    • s = stimulation
  • INPUT:
    • f = real valued function
    • L = stimulation amplitude
    • Rx = stimulation radius in space
    • t0 = stimulation center in time (mid-time)
    • Rt = stimulation radius in time (mid-duration)
    • x0 = stimulation center in space, optional, default is 0

Definition at line 124 of file stimulation_mod.f90.

Here is the call graph for this function: