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"
{
21
void
capac_reg_
(),
passive0_reg_
(),
_passive_reg_
(),
22
#if EXTRACELLULAR
23
extracell_reg_
(),
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_
(),
34
_intfire1_reg_
(),
35
_intfire2_reg_
(),
36
_intfire4_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_
,
47
_passive_reg_
,
48
#if EXTRACELLULAR
49
/* extracellular requires special handling and must be type 5 */
50
extracell_reg_
,
51
#endif
52
passive0_reg_
,
/* twice as fast as model description? */
53
_stim_reg_
,
54
_syn_reg_
,
55
_expsyn_reg_
,
56
_exp2syn_reg_
,
57
_svclmp_reg_
,
58
_vclmp_reg_
,
59
_oclmp_reg_
,
60
_apcount_reg_
,
61
_hh_reg_
,
62
_feature_reg_
,
63
_netstim_reg_
,
64
_intfire1_reg_
,
65
_intfire2_reg_
,
66
_intfire4_reg_
,
67
_ppmark_reg_
,
68
_pattern_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
_oclmp_reg_
void _oclmp_reg_()
NULL_INITIALIZE
#define NULL_INITIALIZE
Definition:
membfunc.h:29
type
short type
Definition:
cabvars.h:10
cab_alloc
void cab_alloc(Prop *)
Definition:
cabcode.cpp:397
_ppmark_reg_
void _ppmark_reg_()
first
static int first
Definition:
fmenu.cpp:186
_syn_reg_
void _syn_reg_()
_exp2syn_reg_
void _exp2syn_reg_()
memb_func
Memb_func * memb_func
Definition:
init.cpp:161
NULL_STATE
#define NULL_STATE
Definition:
membfunc.h:28
_stim_reg_
void _stim_reg_()
morph_mech
static const char * morph_mech[]
Definition:
cabvars.h:76
NULL_CUR
#define NULL_CUR
Definition:
membfunc.h:26
_intfire2_reg_
void _intfire2_reg_()
_expsyn_reg_
void _expsyn_reg_()
morph_alloc
void morph_alloc(Prop *)
Definition:
cabcode.cpp:413
Pfri
int(* Pfri)(void)
Definition:
hocdec.h:39
_pattern_reg_
void _pattern_reg_()
Prop
Definition:
section.h:213
_feature_reg_
void _feature_reg_()
_hh_reg_
void _hh_reg_()
_vclmp_reg_
void _vclmp_reg_()
_passive_reg_
void _passive_reg_()
NULL_ALLOC
#define NULL_ALLOC
Definition:
membfunc.h:27
capac_reg_
void capac_reg_()
_svclmp_reg_
void _svclmp_reg_()
passive0_reg_
void passive0_reg_()
Memb_func
Definition:
membfunc.h:31
Pfrv
void(* Pfrv)(void)
Definition:
hocdec.h:40
_apcount_reg_
void _apcount_reg_()
mechanism
static Pfrv mechanism[]
Definition:
cabvars.h:45
_intfire1_reg_
void _intfire1_reg_()
name
char * name
Definition:
cabvars.h:9
_netstim_reg_
void _netstim_reg_()
usrprop
static struct @41 usrprop[]
_intfire4_reg_
void _intfire4_reg_()
index
short index
Definition:
cabvars.h:11
extracell_reg_
void extracell_reg_(void)
Definition:
extcelln.cpp:67
src
nrnoc
cabvars.h