NEURON
membdef.h
Go to the documentation of this file.
1 /* /local/src/master/nrn/src/nrnoc/membdef.h,v 1.2 1995/02/13 20:20:42 hines Exp */
2 
3 /* numerical parameters */
4 #define DEF_nseg 1 /* default number of segments per section*/
5 #define DEF_dt .025 /* ms */
6 #define DEF_secondorder 0 /* >0 means crank-nicolson. 2 means current
7  adjusted to t+dt/2 */
8 
9 /*global parameters */
10 #define DEF_Ra 35.4 /* ohm-cm */ /*changed from 34.5 on 1/6/95*/
11 #define DEF_celsius 6.3 /* deg-C */
12 
13 #define DEF_vrest -65. /* mV */
14 
15 /* old point process parameters */
16 /* fclamp */
17 #define DEF_clamp_resist 1e-3 /* megohm */
18 
19 /* Parameters that are used in mechanism _alloc() procedures */
20 /* cable */
21 #define DEF_L 100. /* microns */
22 #define DEF_rallbranch 1.
23 
24 /* morphology */
25 #define DEF_diam 500. /* microns */
26 
27 /* capacitance */
28 #define DEF_cm 1. /* uF/cm^2 */
29 
30 /* fast passive (e_p and g_p)*/
31 #define DEF_e DEF_vrest /* mV */
32 #define DEF_g 5.e-4 /* S/cm^2 */
33 
34 /* na_ion */
35 #define DEF_nai 10. /* mM */
36 #define DEF_nao 140. /* mM */
37 #define DEF_ena (115. + DEF_vrest) /* mV */
38 
39 /* k_ion */
40 #define DEF_ki 54.4 /* mM */
41 #define DEF_ko 2.5 /* mM */
42 #define DEF_ek (-12. + DEF_vrest) /* mV */
43 
44 /* ca_ion -> any program that uses DEF_eca must include <math.h> */
45 #define DEF_cai 5.e-5 /* mM */
46 #define DEF_cao 2. /* mM */
47 #include <math.h>
48 #define DEF_eca 12.5 *log(DEF_cao / DEF_cai) /* mV */
49 
50 /* default ion values */
51 #define DEF_ioni 1. /* mM */
52 #define DEF_iono 1. /* mM */
53 #define DEF_eion 0. /* mV */