void _hh_reg_() { int _vectorized = 1; _initlists(); ion_reg("na", -10000.); ion_reg("k", -10000.); _na_sym = hoc_lookup("na_ion"); _k_sym = hoc_lookup("k_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 2); _extcall_thread = (Datum*)ecalloc(1, sizeof(Datum)); _thread_mem_init(_extcall_thread); _thread1data_inuse = 0; _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 1, _thread_mem_init); _nrn_thread_reg(_mechtype, 0, _thread_cleanup); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); _nrn_thread_table_reg(_mechtype, _check_table_thread); hoc_register_prop_size(_mechtype, 19, 7); hoc_register_cvode(_mechtype, _ode_count, _ode_map, _ode_spec, _ode_matsol); hoc_register_tolerance(_mechtype, _hoc_state_tol, &_atollist); hoc_register_var(hoc_scdoub, hoc_vdoub, hoc_intfunc); ivoc_help("help ?1 hh /home/hines/neuron/nrnmpi/src/nrnoc/../../../nrn/src/nrnoc/hh.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _is_reg() { int _vectorized = 1; _initlists(); ion_reg("ca", -10000.); ion_reg("cs", 2.0); ion_reg("ns", 2.0); _ca_sym = hoc_lookup("ca_ion"); _cs_sym = hoc_lookup("cs_ion"); _ns_sym = hoc_lookup("ns_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 6); _extcall_thread = (Datum*)ecalloc(5, sizeof(Datum)); _thread_mem_init(_extcall_thread); _thread1data_inuse = 0; _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 1, _thread_mem_init); _nrn_thread_reg(_mechtype, 0, _thread_cleanup); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_prop_size(_mechtype, 12, 8); hoc_register_dparam_semantics(_mechtype, 0, "ca_ion"); hoc_register_dparam_semantics(_mechtype, 1, "ca_ion"); hoc_register_dparam_semantics(_mechtype, 2, "ca_ion"); hoc_register_dparam_semantics(_mechtype, 3, "cs_ion"); hoc_register_dparam_semantics(_mechtype, 4, "cs_ion"); hoc_register_dparam_semantics(_mechtype, 5, "ns_ion"); hoc_register_dparam_semantics(_mechtype, 6, "ns_ion"); hoc_register_dparam_semantics(_mechtype, 7, "cvodeieq"); hoc_register_cvode(_mechtype, _ode_count, _ode_map, _ode_spec, _ode_matsol); hoc_register_tolerance(_mechtype, _hoc_state_tol, &_atollist); hoc_register_var(hoc_scdoub, hoc_vdoub, hoc_intfunc); ivoc_help("help ?1 Is /home/ovcharen/dev/release/mod2c/test/validation/mod/is.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _h_reg() { int _vectorized = 1; _initlists(); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 2); _extcall_thread = (Datum*)ecalloc(1, sizeof(Datum)); _thread_mem_init(_extcall_thread); _thread1data_inuse = 0; _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 1, _thread_mem_init); _nrn_thread_reg(_mechtype, 0, _thread_cleanup); hoc_register_dparam_size(_mechtype, 1); hoc_register_cvode(_mechtype, _ode_count, _ode_map, _ode_spec, _ode_matsol); hoc_register_tolerance(_mechtype, _hoc_state_tol, &_atollist); hoc_register_var(hoc_scdoub, hoc_vdoub, hoc_intfunc); ivoc_help("help ?1 hd /home/alex/Dropbox/notebooks/Williams_etal_2015/Figure3/x86_64/h.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _kadist_reg() { int _vectorized = 1; _initlists(); ion_reg("k", -10000.); _k_sym = hoc_lookup("k_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 2); _extcall_thread = (Datum*)ecalloc(1, sizeof(Datum)); _thread_mem_init(_extcall_thread); _thread1data_inuse = 0; _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 1, _thread_mem_init); _nrn_thread_reg(_mechtype, 0, _thread_cleanup); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_dparam_size(_mechtype, 4); hoc_register_cvode(_mechtype, _ode_count, _ode_map, _ode_spec, _ode_matsol); hoc_register_tolerance(_mechtype, _hoc_state_tol, &_atollist); hoc_register_var(hoc_scdoub, hoc_vdoub, hoc_intfunc); ivoc_help("help ?1 kad /home/alex/Dropbox/NEURON/my_CA1/x86_64/kadist.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _ca_conc_debug_reg() { int _vectorized = 1; _initlists(); ion_reg("ca", -10000.); _ca_sym = hoc_lookup("ca_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 5); _extcall_thread = (Datum*)ecalloc(4, sizeof(Datum)); _thread_mem_init(_extcall_thread); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 1, _thread_mem_init); _nrn_thread_reg(_mechtype, 0, _thread_cleanup); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_dparam_size(_mechtype, 4); nrn_writes_conc(_mechtype, 0); hoc_register_cvode(_mechtype, _ode_count, _ode_map, _ode_spec, _ode_matsol); hoc_register_tolerance(_mechtype, _hoc_state_tol, &_atollist); hoc_register_var(hoc_scdoub, hoc_vdoub, hoc_intfunc); ivoc_help("help ?1 ca_conc_Bh /Users/maoss2/NEURON/mod_file_test/x86_64/ca_conc_debug.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _cal0_reg() { int _vectorized = 1; _initlists(); ion_reg("ca", -10000.); _ca_sym = hoc_lookup("ca_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 2); _extcall_thread = (Datum*)ecalloc(1, sizeof(Datum)); _thread_mem_init(_extcall_thread); _thread1data_inuse = 0; _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 1, _thread_mem_init); _nrn_thread_reg(_mechtype, 0, _thread_cleanup); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_prop_size(_mechtype, 14, 5); hoc_register_cvode(_mechtype, _ode_count, _ode_map, _ode_spec, _ode_matsol); hoc_register_tolerance(_mechtype, _hoc_state_tol, &_atollist); hoc_register_var(hoc_scdoub, hoc_vdoub, hoc_intfunc); ivoc_help("help ?1 cal0 /home/neuro/Documents/from_axon/ca1n1-mod/x86_64/cal0.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _SynNMDA16_2_reg() { int _vectorized = 1; _initlists(); _mechtype = nrn_get_mechtype(_mechanism[1]); if (_mechtype == -1) return; _nrn_layout_reg(_mechtype, LAYOUT); _na_type = nrn_get_mechtype("na_ion"); #if 0 /*BBCORE*/ ion_reg("na", -10000.); _na_sym = hoc_lookup("na_ion"); #endif /*BBCORE*/ _pointtype = point_register_mech(_mechanism, nrn_alloc,nrn_cur, NULL, nrn_state, nrn_init, hoc_nrnpointerindex, NULL/*_hoc_create_pnt*/, NULL/*_hoc_destroy_pnt*/, /*_member_func,*/ 4); _extcall_thread = (ThreadDatum*)ecalloc(3, sizeof(ThreadDatum)); _thread_mem_init(_extcall_thread); _thread1data_inuse = 0; _nrn_thread_reg1(_mechtype, _thread_mem_init); _nrn_thread_reg0(_mechtype, _thread_cleanup); hoc_register_prop_size(_mechtype, _psize, _ppsize); hoc_register_dparam_semantics(_mechtype, 0, "area"); hoc_register_dparam_semantics(_mechtype, 1, "pntproc"); hoc_register_dparam_semantics(_mechtype, 2, "na_ion"); hoc_register_dparam_semantics(_mechtype, 3, "netsend"); #if NET_RECEIVE_BUFFERING hoc_register_net_receive_buffering(_net_buf_receive, _mechtype); #endif #if NET_RECEIVE_BUFFERING hoc_register_net_send_buffering(_mechtype); #endif pnt_receive[_mechtype] = _net_receive; pnt_receive_size[_mechtype] = 1; hoc_register_var(hoc_scdoub, hoc_vdoub, NULL); }
void _kv_reg() { int _vectorized = 1; _initlists(); ion_reg("k", -10000.); _k_sym = hoc_lookup("k_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 2); _extcall_thread = (Datum*)ecalloc(1, sizeof(Datum)); _thread_mem_init(_extcall_thread); _thread1data_inuse = 0; _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 1, _thread_mem_init); _nrn_thread_reg(_mechtype, 0, _thread_cleanup); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); _nrn_thread_table_reg(_mechtype, _check_table_thread); hoc_register_prop_size(_mechtype, 12, 4); hoc_register_cvode(_mechtype, _ode_count, _ode_map, _ode_spec, _ode_matsol); hoc_register_tolerance(_mechtype, _hoc_state_tol, &_atollist); hoc_register_var(hoc_scdoub, hoc_vdoub, hoc_intfunc); ivoc_help("help ?1 kv /home/paulo/Documents/Courses/LASCONVI/Repository/Examples/NEURON/patdemo/x86_64/kv.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _cad_reg() { int _vectorized = 1; _initlists(); ion_reg("ca", -10000.); _ca_sym = hoc_lookup("ca_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 5); _extcall_thread = (Datum*)ecalloc(4, sizeof(Datum)); _thread_mem_init(_extcall_thread); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 1, _thread_mem_init); _nrn_thread_reg(_mechtype, 0, _thread_cleanup); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_prop_size(_mechtype, 7, 4); nrn_writes_conc(_mechtype, 0); hoc_register_cvode(_mechtype, _ode_count, _ode_map, _ode_spec, _ode_matsol); hoc_register_tolerance(_mechtype, _hoc_state_tol, &_atollist); hoc_register_synonym(_mechtype, _ode_synonym); hoc_register_var(hoc_scdoub, hoc_vdoub, hoc_intfunc); ivoc_help("help ?1 cad /home/bandi/workspace/UCL/Poirazi2003/ModelDB_NEURON/mechanism/x86_64/cad.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }