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
#pragma once
3
#include "
cabcode.h
"
// to provide cab_alloc, morph_alloc for backward compatibility
4
5
#define XMECH 0
6
7
8
static
struct
{
/* USERPROPERTY */
9
const
char
*
name
;
10
short
type
;
11
short
index
;
12
}
usrprop
[] = {{
"nseg"
, 0, 0}, {
"L"
, 1, 2}, {
"rallbranch"
, 1, 4}, {
"Ra"
, 1, 7}, {
nullptr
, 0, 0}};
13
14
extern
"C"
{
15
void
capac_reg_
(),
passive0_reg_
(),
_passive_reg_
(),
16
#if EXTRACELLULAR
17
extracell_reg_
(),
18
#endif
19
_stim_reg_
(),
_syn_reg_
(),
_expsyn_reg_
(),
_exp2syn_reg_
(),
_svclmp_reg_
(),
_vclmp_reg_
(),
20
_oclmp_reg_
(),
_apcount_reg_
(),
_netstim_reg_
(),
_intfire1_reg_
(),
_intfire2_reg_
(),
21
_intfire4_reg_
(),
_ppmark_reg_
(),
_pattern_reg_
(),
22
#if XMECH
23
_xmech_reg_(),
24
#endif
25
_feature_reg_
(),
_hh_reg_
();
26
27
static
Pfrv
mechanism
[] = {
/* type will start at 3 */
28
capac_reg_
,
29
_passive_reg_
,
30
#if EXTRACELLULAR
31
/* extracellular requires special handling and must be type 5 */
32
extracell_reg_
,
33
#endif
34
passive0_reg_
,
/* twice as fast as model description? */
35
_stim_reg_
,
36
_syn_reg_
,
37
_expsyn_reg_
,
38
_exp2syn_reg_
,
39
_svclmp_reg_
,
40
_vclmp_reg_
,
41
_oclmp_reg_
,
42
_apcount_reg_
,
43
_hh_reg_
,
44
_feature_reg_
,
45
_netstim_reg_
,
46
_intfire1_reg_
,
47
_intfire2_reg_
,
48
_intfire4_reg_
,
49
_ppmark_reg_
,
50
_pattern_reg_
,
51
#if XMECH
52
_xmech_reg_,
53
#endif
54
0};
55
}
// extern "C"
56
57
static
const
char
*
morph_mech
[] = {
58
/* this is type 2 */
59
"0"
,
60
"morphology"
,
61
"diam"
,
62
0,
63
0,
64
0,
65
};
66
67
#if 0
68
first
two
memb_func
69
NULL_CUR
,
NULL_ALLOC
,
NULL_STATE
,
NULL_INITIALIZE
, (
Pfri
)0, 0,
/*Unused*/
70
NULL_CUR
,
cab_alloc
,
NULL_STATE
,
NULL_INITIALIZE
, (
Pfri
)0, 0,
/*CABLESECTION*/
71
#endif
72
73
74
extern
std::vector<Memb_func>
memb_func
;
cab_alloc
void cab_alloc(Prop *p)
Definition:
cabcode.cpp:421
cabcode.h
Pfrv
void(* Pfrv)(void)
Definition:
hocdec.h:31
Pfri
int(* Pfri)(void)
Definition:
hocdec.h:30
NULL_STATE
#define NULL_STATE
Definition:
membfunc.h:55
NULL_ALLOC
#define NULL_ALLOC
Definition:
membfunc.h:54
NULL_CUR
#define NULL_CUR
Definition:
membfunc.h:53
NULL_INITIALIZE
#define NULL_INITIALIZE
Definition:
membfunc.h:56
coreneuron::coreneuron::two
@ two
Definition:
nrn_setup.hpp:53
capac_reg_
void capac_reg_()
index
short index
Definition:
cabvars.h:11
_stim_reg_
void _stim_reg_()
_syn_reg_
void _syn_reg_()
_pattern_reg_
void _pattern_reg_()
memb_func
std::vector< Memb_func > memb_func
Definition:
init.cpp:145
_intfire1_reg_
void _intfire1_reg_()
_intfire2_reg_
void _intfire2_reg_()
morph_mech
static const char * morph_mech[]
Definition:
cabvars.h:57
_passive_reg_
void _passive_reg_()
name
const char * name
Definition:
cabvars.h:9
_svclmp_reg_
void _svclmp_reg_()
extracell_reg_
void extracell_reg_()
_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_()
_expsyn_reg_
void _expsyn_reg_()
type
short type
Definition:
cabvars.h:10
usrprop
static struct @36 usrprop[]
_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:27
src
nrnoc
cabvars.h