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"
{
14
void
capac_reg_
(),
passive0_reg_
(),
_passive_reg_
(),
15
#if EXTRACELLULAR
16
extracell_reg_
(),
17
#endif
18
_stim_reg_
(),
_syn_reg_
(),
_expsyn_reg_
(),
_exp2syn_reg_
(),
_svclmp_reg_
(),
_vclmp_reg_
(),
19
_oclmp_reg_
(),
_apcount_reg_
(),
_netstim_reg_
(),
_intfire1_reg_
(),
_intfire2_reg_
(),
20
_intfire4_reg_
(),
_ppmark_reg_
(),
_pattern_reg_
(),
21
#if XMECH
22
_xmech_reg_(),
23
#endif
24
_feature_reg_
(),
_hh_reg_
();
25
26
static
Pfrv
mechanism
[] = {
/* type will start at 3 */
27
capac_reg_
,
28
_passive_reg_
,
29
#if EXTRACELLULAR
30
/* extracellular requires special handling and must be type 5 */
31
extracell_reg_
,
32
#endif
33
passive0_reg_
,
/* twice as fast as model description? */
34
_stim_reg_
,
35
_syn_reg_
,
36
_expsyn_reg_
,
37
_exp2syn_reg_
,
38
_svclmp_reg_
,
39
_vclmp_reg_
,
40
_oclmp_reg_
,
41
_apcount_reg_
,
42
_hh_reg_
,
43
_feature_reg_
,
44
_netstim_reg_
,
45
_intfire1_reg_
,
46
_intfire2_reg_
,
47
_intfire4_reg_
,
48
_ppmark_reg_
,
49
_pattern_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
cab_alloc
void cab_alloc(Prop *)
Definition:
cabcode.cpp:407
capac_reg_
void capac_reg_()
index
short index
Definition:
cabvars.h:10
_stim_reg_
void _stim_reg_()
_syn_reg_
void _syn_reg_()
_pattern_reg_
void _pattern_reg_()
_intfire1_reg_
void _intfire1_reg_()
_intfire2_reg_
void _intfire2_reg_()
name
char * name
Definition:
cabvars.h:8
morph_mech
static const char * morph_mech[]
Definition:
cabvars.h:56
_passive_reg_
void _passive_reg_()
memb_func
Memb_func * memb_func
Definition:
init.cpp:123
_svclmp_reg_
void _svclmp_reg_()
morph_alloc
void morph_alloc(Prop *)
Definition:
cabcode.cpp:423
_intfire4_reg_
void _intfire4_reg_()
_hh_reg_
void _hh_reg_()
_netstim_reg_
void _netstim_reg_()
_feature_reg_
void _feature_reg_()
_vclmp_reg_
void _vclmp_reg_()
_oclmp_reg_
void _oclmp_reg_()
usrprop
static struct @26 usrprop[]
_expsyn_reg_
void _expsyn_reg_()
type
short type
Definition:
cabvars.h:9
_apcount_reg_
void _apcount_reg_()
_ppmark_reg_
void _ppmark_reg_()
_exp2syn_reg_
void _exp2syn_reg_()
passive0_reg_
void passive0_reg_()
mechanism
static Pfrv mechanism[]
Definition:
cabvars.h:26
extracell_reg_
void extracell_reg_(void)
Definition:
extcelln.cpp:72
first
static int first
Definition:
fmenu.cpp:190
Pfrv
void(* Pfrv)(void)
Definition:
hocdec.h:40
Pfri
int(* Pfri)(void)
Definition:
hocdec.h:39
NULL_STATE
#define NULL_STATE
Definition:
membfunc.h:28
NULL_ALLOC
#define NULL_ALLOC
Definition:
membfunc.h:27
NULL_CUR
#define NULL_CUR
Definition:
membfunc.h:26
NULL_INITIALIZE
#define NULL_INITIALIZE
Definition:
membfunc.h:29
Memb_func
Definition:
membfunc.h:31
Prop
Definition:
section.h:214
src
nrnoc
cabvars.h