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 static struct { /* USERPROPERTY */
8  char* name;
9  short type;
10  short index;
11 } usrprop[] = {"nseg", 0, 0, "L", 1, 2, "rallbranch", 1, 4, "Ra", 1, 7, 0, 0, 0};
12 
13 extern "C" {
15 #if EXTRACELLULAR
17 #endif
21 #if XMECH
22  _xmech_reg_(),
23 #endif
25 
26 static Pfrv mechanism[] = {/* type will start at 3 */
27  capac_reg_,
29 #if EXTRACELLULAR
30  /* extracellular requires special handling and must be type 5 */
32 #endif
33  passive0_reg_, /* twice as fast as model description? */
34  _stim_reg_,
35  _syn_reg_,
42  _hh_reg_,
50 #if XMECH
51  _xmech_reg_,
52 #endif
53  0};
54 } // extern "C"
55 
56 static const char* morph_mech[] = {
57  /* this is type 2 */
58  "0",
59  "morphology",
60  "diam",
61  0,
62  0,
63  0,
64 };
65 
66 extern void cab_alloc(Prop*);
67 extern void morph_alloc(Prop*);
68 
69 #if 0
70  first two memb_func
71  NULL_CUR, NULL_ALLOC, NULL_STATE, NULL_INITIALIZE, (Pfri)0, 0, /*Unused*/
72  NULL_CUR, cab_alloc, NULL_STATE, NULL_INITIALIZE, (Pfri)0, 0, /*CABLESECTION*/
73 #endif
74 
75 
76 extern Memb_func* memb_func;
77 
78 #endif // NRN_CABVARS_H
void cab_alloc(Prop *)
Definition: cabcode.cpp:407
void capac_reg_()
short index
Definition: cabvars.h:10
void _stim_reg_()
void _syn_reg_()
void _pattern_reg_()
void _intfire1_reg_()
void _intfire2_reg_()
char * name
Definition: cabvars.h:8
static const char * morph_mech[]
Definition: cabvars.h:56
void _passive_reg_()
Memb_func * memb_func
Definition: init.cpp:123
void _svclmp_reg_()
void morph_alloc(Prop *)
Definition: cabcode.cpp:423
void _intfire4_reg_()
void _hh_reg_()
void _netstim_reg_()
void _feature_reg_()
void _vclmp_reg_()
void _oclmp_reg_()
static struct @26 usrprop[]
void _expsyn_reg_()
short type
Definition: cabvars.h:9
void _apcount_reg_()
void _ppmark_reg_()
void _exp2syn_reg_()
void passive0_reg_()
static Pfrv mechanism[]
Definition: cabvars.h:26
void extracell_reg_(void)
Definition: extcelln.cpp:72
static int first
Definition: fmenu.cpp:190
void(* Pfrv)(void)
Definition: hocdec.h:40
int(* Pfri)(void)
Definition: hocdec.h:39
#define NULL_STATE
Definition: membfunc.h:28
#define NULL_ALLOC
Definition: membfunc.h:27
#define NULL_CUR
Definition: membfunc.h:26
#define NULL_INITIALIZE
Definition: membfunc.h:29
Definition: section.h:214