CSIM: IonBuffer Class Reference

IonBuffer Class Reference

#include <ionbuffer.h>

List of all members.


Detailed Description

An ion buffer handling the ion concentration of multiple ionic input currents and outward pump.

Missing ...

Public Member Functions

  • void reset (double *Gtot, double *Ich, double Vresting, double VmScale)
    Reset the IonBuffer.
  • void nextstate (double *Imtot, double *Gmtot, double Vm, double Vresting, double VmScale)
    Calculate for this class of ion channels the current and conductance and if necessary Erev and Conc.
  • void getConc (double **C)
    Get pointer to the ion concentration variable.
  • void getErev (double **E)
    Get pointer to the ion concentration variable.

Public Attributes

  • float ConcRest
    Resting interior ion concentration [Ca]; [units=Mol; range=(0,1); readwrite;].
  • float ConcOut
    Exterior ion concentration [Ca]; [units=Mol; range=(0,1); readwrite;].
  • float ConcScale
    Scales the ion concentration parameter tables; [units=; range=(0,1e5); readwrite;].
  • float Tau
    Ion concentration decay time constant; [units=sec; range=(0,1e3); readwrite;].
  • float Temp
    Temperature; [units=Kelvin; range=(0,1e3); readwrite;].

Protected Member Functions

  • void addChannel (IonChannel *newChannel)
    Call to add a new channel.
  • void SetErev (double Vresting, double VmScale)
    Set reversal potential.

Protected Attributes

  • double Conc
    The membrane capacity $C_m$ [range=(0,1); units=;].
  • double Erev
    The membrane capacity $C_m$ [range=(0,1); units=;].
  • bool active
    True if ion buffer has to be calculated.
  • bool ConcActive
    True if ion buffers Conc variable has to be calculated.
  • bool ErevActive
    True if ion buffers Erev variable has to be calculated.
  • int zIon
    Atomic number of the ion.
  • double C1
    Internal constant for the exponential Euler integration of Conc.
  • int nChannels
    Number of channels [readonly; units=;].
  • int lChannels
    Length of list of channels [hidden].
  • IonChannel ** channels
    A list of associated channels [hidden].

Friends


Member Function Documentation

void IonBuffer::reset double *  Gtot,
double *  Ich,
double  Vresting,
double  VmScale
 

Reset the IonBuffer.

  • $V_m$ is set to $V_{init}$

  • $E_m$ is calculated such that for no input $V_m$ relaxes to $V_{resting}$ :
    • $E_m = R_m \cdot \left( V_{resting} G_{tot} - I_{ch} \right) $
    • $G_{tot} = \frac{1}{R_m} + \sum_{c=1}^{N_c} g_\infty(V_{resting})$
    • $I_{ch} = \sum_{c=1}^{N_c} g_\infty(V_{resting}) E_{rev}^c $


 
(C) 2003, Thomas Natschläger last modified 07/10/2006