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 VECTORIZE 1
/* hope this speeds up simulations on a Cray */
15
/* this is no longer optional */
16
17
#define I_MEMBRANE 1
/* compute i_cap and i_membrane on fadvance */
18
19
#define EXTRACELLULAR 2
/* default number of extracellular layers */
20
21
#define DIAMLIST 1
/* section contains diameter info */
22
#define EXTRAEQN \
23
0
/* ionic concentrations calculated via \
24
* jacobian along with v */
25
#if DIAMLIST
26
#define NTS_SPINE \
27
1
/* A negative diameter in pt3dadd() tags that \
28
* diamlist location as having a spine. \
29
* diam3d() still returns the postive diameter \
30
* spined3d() returns 1 or 0 signifying presence \
31
* of spine. setSpineArea() tells how much \
32
* area/spine to add to the segment. */
33
#endif
34
35
#define METHOD3 0
/* third order spatially correct method */
36
/* testing only, not completely implemented */
37
/* cannot be used with extracellular */
38
39
#define KEEP_NSEG_PARM 1
/* Use old segment parameters to define */
40
/* the new segment information */
41
42
#define CVODE 1
/* Allow the cvode variable time step method*/
43
44
#if !defined(CACHEVEC)
45
#define CACHEVEC 1
/* define to 0 doubles in nodes instead of vectors*/
46
#endif
47
48
#define MULTICORE 1
/* not optional */
src
nrnoc
options.h