options.h

Go to the documentation of this file.
00001 /*
00002   Options are either very significant to the usage and/or affect
00003   the size of the main data structures and thus require much recompilation,
00004   including recompilation of all models.
00005 */
00006 
00007 /* switching from Ra being a global variable to it being a section variable
00008 opens up the possibility of a great deal of confusion and inadvertant wrong
00009 results. To help avoid this we print a warning message whenever the value
00010 in one section is set but no others. But only the first time through treeset.
00011 */
00012 #define RA_WARNING   0
00013 
00014 #define VECTORIZE 1  /* hope this speeds up simulations on a Cray */
00015             /* this is no longer optional */
00016 
00017 #define I_MEMBRANE   1  /* compute i_cap and i_membrane on fadvance */
00018 
00019 #if _CRAY
00020 #define EXTRACELLULAR   0  /* this form of gaussian elimination is vectorized*/
00021 #else
00022 #define EXTRACELLULAR   2  /* number of extracellular layers */
00023 #endif
00024 
00025 #define DIAMLIST  1  /* section contains diameter info */
00026 #define EXTRAEQN  0  /* ionic concentrations calculated via
00027              * jacobian along with v */
00028 #if DIAMLIST
00029 #define NTS_SPINE 1  /* A negative diameter in pt3dadd() tags that
00030              * diamlist location as having a spine.
00031              * diam3d() still returns the postive diameter
00032              * spined3d() returns 1 or 0 signifying presence
00033              * of spine. setSpineArea() tells how much
00034              * area/spine to add to the segment. */
00035 #endif
00036 
00037 #define METHOD3      0  /* third order spatially correct method */
00038             /* testing only, not completely implemented */
00039             /* cannot be used with extracellular */
00040 
00041 #define KEEP_NSEG_PARM  1  /* Use old segment parameters to define */
00042             /* the new segment information */
00043 
00044 #define CVODE 1         /* Allow the cvode variable time step method*/
00045 
00046 #if !defined(CACHEVEC)
00047 #define CACHEVEC 1      /* define to 0 doubles in nodes instead of vectors*/
00048 #endif
00049 
00050 #define MULTICORE 1     /* not optional */
Generated on Mon Jun 13 08:10:27 2011 for NEURON by  doxygen 1.6.3