NEURON
cabvars.h
Go to the documentation of this file.
1 /* /local/src/master/nrn/src/nrnoc/cabvars.h,v 1.5 1999/02/05 18:09:50 hines Exp */
2 #ifndef NRN_CABVARS_H
3 #define NRN_CABVARS_H
4 #define XMECH 0
5 
6 
7 
8 static struct { /* USERPROPERTY */
9  char *name;
10  short type;
11  short index;
12 } usrprop[] = {
13  "nseg", 0, 0,
14  "L", 1, 2,
15  "rallbranch", 1, 4,
16  "Ra", 1, 7,
17  0, 0, 0
18 };
19 
20 extern "C" {
22 #if EXTRACELLULAR
24 #endif
25  _stim_reg_(),
26  _syn_reg_(),
27  _expsyn_reg_(),
28  _exp2syn_reg_(),
29  _svclmp_reg_(),
30  _vclmp_reg_(),
31  _oclmp_reg_(),
32  _apcount_reg_(),
33  _netstim_reg_(),
37  _ppmark_reg_(),
38  _pattern_reg_(),
39 #if XMECH
40 _xmech_reg_(),
41 #endif
42  _feature_reg_(),
43  _hh_reg_();
44 
45 static Pfrv mechanism[] = { /* type will start at 3 */
46  capac_reg_,
48 #if EXTRACELLULAR
49  /* extracellular requires special handling and must be type 5 */
51 #endif
52  passive0_reg_, /* twice as fast as model description? */
53  _stim_reg_,
54  _syn_reg_,
61  _hh_reg_,
69 #if XMECH
70  _xmech_reg_,
71 #endif
72  0
73 };
74 } // extern "C"
75 
76 static const char *morph_mech[] = { /* this is type 2 */
77  "0", "morphology", "diam", 0,0,0,
78 };
79 
80 extern void cab_alloc(Prop*);
81 extern void morph_alloc(Prop*);
82 
83 #if 0
84  first two memb_func
85  NULL_CUR, NULL_ALLOC, NULL_STATE, NULL_INITIALIZE, (Pfri)0, 0, /*Unused*/
86  NULL_CUR, cab_alloc, NULL_STATE, NULL_INITIALIZE, (Pfri)0, 0, /*CABLESECTION*/
87 #endif
88 
89 
90 extern Memb_func* memb_func;
91 
92 #endif //NRN_CABVARS_H
void _oclmp_reg_()
#define NULL_INITIALIZE
Definition: membfunc.h:29
short type
Definition: cabvars.h:10
void cab_alloc(Prop *)
Definition: cabcode.cpp:397
void _ppmark_reg_()
static int first
Definition: fmenu.cpp:186
void _syn_reg_()
void _exp2syn_reg_()
Memb_func * memb_func
Definition: init.cpp:161
#define NULL_STATE
Definition: membfunc.h:28
void _stim_reg_()
static const char * morph_mech[]
Definition: cabvars.h:76
#define NULL_CUR
Definition: membfunc.h:26
void _intfire2_reg_()
void _expsyn_reg_()
void morph_alloc(Prop *)
Definition: cabcode.cpp:413
int(* Pfri)(void)
Definition: hocdec.h:39
void _pattern_reg_()
Definition: section.h:213
void _feature_reg_()
void _hh_reg_()
void _vclmp_reg_()
void _passive_reg_()
#define NULL_ALLOC
Definition: membfunc.h:27
void capac_reg_()
void _svclmp_reg_()
void passive0_reg_()
void(* Pfrv)(void)
Definition: hocdec.h:40
void _apcount_reg_()
static Pfrv mechanism[]
Definition: cabvars.h:45
void _intfire1_reg_()
char * name
Definition: cabvars.h:9
void _netstim_reg_()
static struct @41 usrprop[]
void _intfire4_reg_()
short index
Definition: cabvars.h:11
void extracell_reg_(void)
Definition: extcelln.cpp:67