MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ZombieHHChannel.h
Go to the documentation of this file.
1 #ifndef _Zombie_HHChannel_h
2 #define _Zombie_HHChannel_h
3 /**********************************************************************
4 ** This program is part of 'MOOSE', the
5 ** Messaging Object Oriented Simulation Environment,
6 ** also known as GENESIS 3 base code.
7 ** copyright (C) 2003-20012 Upinder S. Bhalla. and NCBS
8 ** It is made available under the terms of the
9 ** GNU Lesser General Public License version 2.1
10 ** See the file COPYING.LIB for the full notice.
11 *********************************************************************
12 */
13 
32 #include "header.h"
33 #include "ElementValueFinfo.h"
34 #include "HinesMatrix.h"
35 #include "HSolveStruct.h"
36 #include "HSolvePassive.h"
37 #include "RateLookup.h"
38 #include "HSolveActive.h"
39 #include "HSolve.h"
40 #include "../biophysics/HHGate.h"
41 #include "../biophysics/ChanBase.h"
42 #include "../biophysics/ChanCommon.h"
43 #include "../biophysics/Compartment.h"
44 #include "../biophysics/HHChannelBase.h"
45 #include "../biophysics/HHChannel.h"
46 #include "../utility/print_function.hpp"
47 
49 {
50 public:
52 
54  // Value field access function definitions
56 
57  void vSetGbar( const Eref& e , double Gbar );
58  double vGetGbar( const Eref& e ) const;
59  void vSetGk( const Eref& e , double Gk );
60  double vGetGk( const Eref& e ) const;
61  void vSetEk( const Eref& e , double Ek );
62  double vGetEk( const Eref& e ) const;
63  void vSetIk( const Eref& e, double Ik );
64  double vGetIk( const Eref& e ) const;
65  void vSetXpower( const Eref& e , double Xpower );
66  void vSetYpower( const Eref& e , double Ypower );
67  void vSetZpower( const Eref& e , double Zpower );
68  void vSetInstant( const Eref& e , int instant );
69  int vGetInstant( const Eref& e ) const;
70  void vSetX( const Eref& e , double X );
71  double vGetX( const Eref& e ) const;
72  void vSetY( const Eref& e , double Y );
73  double vGetY( const Eref& e ) const;
74  void vSetZ( const Eref& e , double Z );
75  double vGetZ( const Eref& e ) const;
81  void vSetUseConcentration( const Eref& e, int value );
82  // implemented in baseclass: int getUseConcentration() const;
83 
84  void vSetModulation( const Eref& e, double value );
85 
87  // Dest function definitions
89 
90  void vProcess( const Eref& e, ProcPtr p );
91  void vReinit( const Eref& e, ProcPtr p );
92  void vHandleConc( const Eref& e, double value);
93  void vCreateGate(const Eref& e , string name);
94 
96  // Dummy function, not needed in Zombie.
97  void vHandleVm( double Vm );
98 
100  // Gate handling functions
102 
105  HHGate* vGetXgate( unsigned int i ) const;
106 
110  HHGate* vGetYgate( unsigned int i ) const;
111 
115  HHGate* vGetZgate( unsigned int i ) const;
117  void vSetSolver( const Eref& e , Id hsolve );
118 
119  static const Cinfo* initCinfo();
120 
121 private:
123 
124  void copyFields( Id chanId, HSolve* hsolve_ );
125 };
126 
127 
128 #endif // _Zombie_HHChannel_h
uint32_t value
Definition: moosemodule.h:42
Definition: HHGate.h:31
void vSetGk(const Eref &e, double Gk)
void vSetYpower(const Eref &e, double Ypower)
void vSetEk(const Eref &e, double Ek)
void vSetX(const Eref &e, double X)
HHGate * vGetZgate(unsigned int i) const
void vSetInstant(const Eref &e, int instant)
double vGetIk(const Eref &e) const
HHGate * vGetYgate(unsigned int i) const
void vSetSolver(const Eref &e, Id hsolve)
void vSetGbar(const Eref &e, double Gbar)
void vSetY(const Eref &e, double Y)
void vSetModulation(const Eref &e, double value)
static const Cinfo * initCinfo()
Definition: HSolve.h:16
void vSetXpower(const Eref &e, double Xpower)
void vCreateGate(const Eref &e, string name)
void vProcess(const Eref &e, ProcPtr p)
Definition: Eref.h:26
double vGetGbar(const Eref &e) const
double vGetX(const Eref &e) const
int vGetInstant(const Eref &e) const
void vHandleConc(const Eref &e, double value)
double vGetZ(const Eref &e) const
static char name[]
Definition: mfield.cpp:401
void vReinit(const Eref &e, ProcPtr p)
void vSetZpower(const Eref &e, double Zpower)
Definition: Id.h:17
double vGetY(const Eref &e) const
void copyFields(Id chanId, HSolve *hsolve_)
double vGetGk(const Eref &e) const
void vSetZ(const Eref &e, double Z)
HHGate * vGetXgate(unsigned int i) const
double vGetEk(const Eref &e) const
Definition: Cinfo.h:18
void vHandleVm(double Vm)
void vSetIk(const Eref &e, double Ik)
void vSetUseConcentration(const Eref &e, int value)