CSIM: membranepatchsimple.h Source File

membranepatchsimple.h

Go to the documentation of this file.
00001 
00005 #ifndef _MEMBRANEPATCH_SIMPLE_H_
00006 #define _MEMBRANEPATCH_SIMPLE_H_
00007 
00008 #include "spikingneuron.h"
00009 #include "ionchannel.h"
00010 #include "synapsetarget.h"
00011 
00012 class IonChannel;
00013 
00015 
00066 class MembranePatchSimple {
00067 
00068  public:
00069 
00070   MembranePatchSimple(void);
00071 
00072   virtual ~MembranePatchSimple();
00073 
00075   virtual void reset(void);
00076 
00078   virtual void IandGtot(double *i, double *g);
00079 
00081   float Cm;
00082 
00084   float Rm;
00085 
00087   double Em;
00088 
00090 
00094   float Vresting;
00095 
00097   float Vinit;
00098 
00100   float VmScale;
00101 
00103   double Vm;
00104 
00106   float Inoise;
00107 
00109   float Iinject;
00110 
00111  protected:
00112   friend class IonChannel;
00113   friend class ActiveChannel;
00114 
00116   int nChannels;
00117 
00119   int lChannels;
00120 
00122   IonChannel **channels;
00123 
00125   virtual void addChannel(IonChannel *newChannel);
00126 
00128   virtual void destroyChannels(void);
00129 
00130 };
00131 
00132 #endif

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