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 0 /* ionic concentrations calculated via
23  * jacobian along with v */
24 #if DIAMLIST
25 #define NTS_SPINE 1 /* A negative diameter in pt3dadd() tags that
26  * diamlist location as having a spine.
27  * diam3d() still returns the postive diameter
28  * spined3d() returns 1 or 0 signifying presence
29  * of spine. setSpineArea() tells how much
30  * area/spine to add to the segment. */
31 #endif
32 
33 #define METHOD3 0 /* third order spatially correct method */
34  /* testing only, not completely implemented */
35  /* cannot be used with extracellular */
36 
37 #define KEEP_NSEG_PARM 1 /* Use old segment parameters to define */
38  /* the new segment information */
39 
40 #define CVODE 1 /* Allow the cvode variable time step method*/
41 
42 #if !defined(CACHEVEC)
43 #define CACHEVEC 1 /* define to 0 doubles in nodes instead of vectors*/
44 #endif
45 
46 #define MULTICORE 1 /* not optional */