NEURON
options.h
Go to the documentation of this file.
1
/*
2
Options are either very significant to the usage and/or affect
3
the size of the main data structures and thus require much recompilation,
4
including recompilation of all models.
5
*/
6
7
/* switching from Ra being a global variable to it being a section variable
8
opens up the possibility of a great deal of confusion and inadvertant wrong
9
results. To help avoid this we print a warning message whenever the value
10
in one section is set but no others. But only the first time through treeset.
11
*/
12
#define RA_WARNING 0
13
14
#define I_MEMBRANE 1
/* compute i_cap and i_membrane on fadvance */
15
16
#define EXTRACELLULAR 2
/* default number of extracellular layers */
17
18
#define DIAMLIST 1
/* section contains diameter info */
19
#define EXTRAEQN \
20
0
/* ionic concentrations calculated via \
21
* jacobian along with v */
22
#if DIAMLIST
23
#define NTS_SPINE \
24
1
/* A negative diameter in pt3dadd() tags that \
25
* diamlist location as having a spine. \
26
* diam3d() still returns the postive diameter \
27
* spined3d() returns 1 or 0 signifying presence \
28
* of spine. setSpineArea() tells how much \
29
* area/spine to add to the segment. */
30
#endif
31
32
#define KEEP_NSEG_PARM 1
/* Use old segment parameters to define */
33
/* the new segment information */
34
35
#define MULTICORE 1
/* not optional */
src
nrnoc
options.h