CSIM: ConcIonGate Class Reference

ConcIonGate Class Reference

#include <conciongate.h>

Inheritance diagram for ConcIonGate:

IonGate Advancable csimClass KCAnGate_Mainen96 List of all members.

Detailed Description

Generic first order kinitics ion concentration dependend ion gate.

Generic first order kinitics ion concentration dependend ion gate.

missing ...

Public Member Functions

  • ConcIonGate (void)
    The constructor ..
  • virtual void reset (void)
    Set the initial conditions for time $t=0$ : $p(0,Conc)=p_\infty(Conc)$ .
  • virtual int updateInternal (void)
    Set the initial conditions for time $t=0$ : $p(0,Conc)=p_\infty(Conc)$ .
  • virtual int advance (void)
    Advance one time step using exponential Euler integration.
  • virtual double tau (double)
    The "time constant" $\tau(Conc)$.
  • virtual double infty (double)
    The "resting value" $p_\infty(Conc)$.
  • virtual void ConnectToMembrane (MembranePatchSimple *m)
    The gate needs to know the ion concentration parameters which we set with this function.
  • ~ConcIonGate (void)

Public Attributes

  • float * ConcRest
    A pointer to the relevant resting membrane potential.
  • double * Conc
    A pointer to the relevant membrane potential.
  • float * ConcScale
    A pointer to the parameter that defines the difference between Vresting and the Vthresh for the calculation of the iongate tables.
  • int ConcType
    A pointer to the parameter that defines the difference between Vresting and the Vthresh for the calculation of the iongate tables.

Protected Member Functions

  • virtual double * getC1 (void)

Static Protected Attributes

  • static double * C1 = 0
  • static double * C2 = 0

Constructor & Destructor Documentation

ConcIonGate::~ConcIonGate void   )  [inline]
 

(at least with gcc 2.95) the virtuals are not called correctly within the destructor


Member Function Documentation

virtual double* ConcIonGate::getC1 void   )  [inline, protected, virtual]
 

virtual methods to correctly acces the static members C1 and C2

Reimplemented from IonGate.

Reimplemented in KCAnGate_Mainen96.


Member Data Documentation

double * ConcIonGate::C1 = 0 [static, protected]
 

The look up table for the exponential Euler integration 'constant' $C_1(V)=\exp(-\Delta t / \tau(V))$

Reimplemented from IonGate.

Reimplemented in KCAnGate_Mainen96.

double * ConcIonGate::C2 = 0 [static, protected]
 

The look up table for the exponential Euler integration 'constant' $C_2(V)=(1-C_1(V))\cdot p_\infty(V)$

Reimplemented from IonGate.

Reimplemented in KCAnGate_Mainen96.


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