cabvars.h

Go to the documentation of this file.
00001 /* /local/src/master/nrn/src/nrnoc/cabvars.h,v 1.5 1999/02/05 18:09:50 hines Exp */
00002 #define XMECH 0
00003 
00004 static struct {      /* USERPROPERTY */
00005    char  *name;
00006    short type;
00007    short index;
00008 } usrprop[] = {
00009    "nseg", 0, 0,
00010    "L", 1, 2,
00011    "rallbranch", 1, 4,
00012    "Ra", 1, 7,
00013    0, 0, 0
00014 };
00015 
00016 extern  capac_reg_(), passive0_reg_(), _passive_reg_(),
00017 #if EXTRACELLULAR
00018    extracell_reg_(),
00019 #endif
00020    _stim_reg_(),
00021    _syn_reg_(),
00022    _expsyn_reg_(),
00023    _exp2syn_reg_(),
00024    _svclmp_reg_(),
00025    _vclmp_reg_(),
00026    _oclmp_reg_(),
00027    _apcount_reg_(),
00028    _netstim_reg_(),
00029    _intfire1_reg_(),
00030    _intfire2_reg_(),
00031    _intfire4_reg_(),
00032    _ppmark_reg_(),
00033    _pattern_reg_(),
00034 #if XMECH
00035    _xmech_reg_(),
00036 #endif
00037    _feature_reg_(),
00038    _hh_reg_();
00039 
00040 static Pfri mechanism[] = { /* type will start at 3 */
00041    capac_reg_,
00042    _passive_reg_,
00043 #if EXTRACELLULAR
00044    /* extracellular requires special handling and must be type 5 */
00045    extracell_reg_,
00046 #endif
00047    passive0_reg_, /* twice as fast as model description? */
00048    _stim_reg_,
00049    _syn_reg_,
00050    _expsyn_reg_,
00051    _exp2syn_reg_,
00052    _svclmp_reg_,
00053    _vclmp_reg_,
00054    _oclmp_reg_,
00055    _apcount_reg_,
00056    _hh_reg_,
00057    _feature_reg_,
00058    _netstim_reg_,
00059    _intfire1_reg_,
00060    _intfire2_reg_,
00061    _intfire4_reg_,
00062    _ppmark_reg_,
00063    _pattern_reg_,
00064 #if XMECH
00065    _xmech_reg_,
00066 #endif
00067    0
00068 };
00069 
00070 static char *morph_mech[] = { /* this is type 2 */
00071    "0", "morphology", "diam", 0,0,0,
00072 };
00073 
00074 extern cab_alloc();
00075 extern morph_alloc();
00076 
00077 extern Memb_func* memb_func;
00078 #if 0
00079  first two memb_func
00080    NULL_CUR, NULL_ALLOC, NULL_STATE, NULL_INITIALIZE, (Pfri)0, 0, /*Unused*/
00081    NULL_CUR, cab_alloc, NULL_STATE, NULL_INITIALIZE, (Pfri)0, 0,  /*CABLESECTION*/
00082 #endif
Generated on Mon Jun 13 08:10:26 2011 for NEURON by  doxygen 1.6.3