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); }
static void* scons(Object*) { #if HAVE_IV SymChooser* sc = nil; IFGUI const char* caption = "Choose a Variable Name or"; if (ifarg(1)) { caption = gargstr(1); } Style* style = new Style(Session::instance()->style()); style->attribute("caption", caption); if (ifarg(2)) { Symbol* sym = hoc_lookup(gargstr(2)); int type = RANGEVAR; if (sym) { type = sym->type; } sc = new SymChooser(new SymDirectory(type), WidgetKit::instance(), style, nil, 1); }else{ sc = new SymChooser(nil, WidgetKit::instance(), style); } Resource::ref(sc); ENDGUI return (void*)sc; #else return (void*)0; #endif /* HAVE_IV */ }
void _hh2_reg() { int _vectorized = 0; _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, 0); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_dparam_size(_mechtype, 6); hoc_register_cvode(_mechtype, _ode_count, 0, 0, 0); hoc_register_var(hoc_scdoub, hoc_vdoub, hoc_intfunc); ivoc_help("help ?1 hh2 /Users/jiemei/Desktop/combined_v2/trial/relay/x86_64/hh2.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
JNIEXPORT jdouble JNICALL Java_neuron_Neuron_hDoubleMethod__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring name, jint narg) { jnisave const char* cn = env->GetStringUTFChars(name, 0); Symbol* sym = hoc_lookup(cn); env->ReleaseStringUTFChars(name, cn); jnirestore return hoc_call_func(sym, narg); }
void OcPointer_reg() { class2oc("Pointer", cons, destruct, members, NULL, NULL, s_memb); // now make the val variable an actual double Symbol* sv = hoc_lookup("Pointer"); Symbol* sx = hoc_table_lookup("val", sv->u.ctemplate->symtable); sx->type = VAR; sx->arayinfo = NULL; sv->u.ctemplate->steer = steer_val; }
void _kca_reg() { int _vectorized = 0; _initlists(); ion_reg("k", -10000.); ion_reg("ca", -10000.); _k_sym = hoc_lookup("k_ion"); _ca_sym = hoc_lookup("ca_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 0); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_prop_size(_mechtype, 12, 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 kca /home/heberto/Downloads/Branco_2010/x86_64/kca.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _hhrx_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, 1); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_prop_size(_mechtype, 29, 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 hhrx /home/mohit/IRBlock_Vanderbilt-master-2/compare/x86_64/hhrx.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _SK_E2_reg() { int _vectorized = 1; _initlists(); ion_reg("k", -10000.); ion_reg("ca", -10000.); _k_sym = hoc_lookup("k_ion"); _ca_sym = hoc_lookup("ca_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 1); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_prop_size(_mechtype, 10, 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 SK_E2 /Users/BaekJeongHun/GitHub/OD_GIF/L5bPCmodelsEH/x86_64/SK_E2.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _K_ahp_debug_Bh_reg() { int _vectorized = 1; _initlists(); ion_reg("k", -10000.); ion_reg("ca", -10000.); _k_sym = hoc_lookup("k_ion"); _ca_sym = hoc_lookup("ca_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 1); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _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 k_ahp_Bh /Users/maoss2/NEURON/CA1_cell_test/Stimulation_case_per_case/CA1_Electrophysiologic_Models/CA1_Electrophysiologic_Models/Mod_Files/x86_64/K_ahp_debug_Bh.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _IAHP_reg() { int _vectorized = 1; _initlists(); ion_reg("k", -10000.); ion_reg("ca", -10000.); _k_sym = hoc_lookup("k_ion"); _ca_sym = hoc_lookup("ca_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 1); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_dparam_size(_mechtype, 6); 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 IAHP /home/park/github/SingleCompartmentAL/x86_64/IAHP.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void make_mechanism() { char buf[256]; int i, cnt; Symbol* sp; char* mname = gargstr(1); //printf("mname=%s\n", mname); check(mname); char* classname = gargstr(2); //printf("classname=%s\n", classname); char* parnames = nil; if (ifarg(3)) { parnames = new char[strlen(gargstr(3)) + 1]; strcpy(parnames, gargstr(3)); } //if(parnames) printf("parnames=%s\n", parnames); Symbol* classsym = hoc_lookup(classname); if (classsym->type != TEMPLATE) { hoc_execerror(classname, "not a template"); } cTemplate* tp = classsym->u.ctemplate; Symlist* slist = tp->symtable; char** m = make_m(true, cnt, slist, mname, parnames); common_register(m, classsym, slist, alloc_mech, i); for (sp = slist->first; sp; sp = sp->next) { if (sp->type == VAR && sp->cpublic) { sprintf(buf, "%s_%s", sp->name, m[1]); Symbol* sp1 = hoc_lookup(buf); sp1->u.rng.index = sp->u.oboff; } } for (i=0; i < cnt; ++i) { if (m[i]) { delete [] m[i]; } } delete [] m; delete [] parnames; ret(1.); }
void bbs_done() { #if USEBBS Symbol* sym = hoc_lookup("ParallelContext"); sym = hoc_which_template(sym); hoc_Item* q, *ql; ql = sym->u.ctemplate->olist; q = ql->next; if (q != ql) { Object* ob = OBJ(q); OcBBS* bbs = (OcBBS*)ob->u.this_pointer; if (bbs->is_master()) {bbs->done();} } #endif }
void _kextna_reg() { int _vectorized = 1; _initlists(); ion_reg("k", -10000.); ion_reg("na", -10000.); _k_sym = hoc_lookup("k_ion"); _na_sym = hoc_lookup("na_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, 14, 7); 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 kextna /home/neuro/Documents/from_axon/ca1n1-mod/x86_64/kextna.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _kht_reg() { int _vectorized = 0; _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, 0); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_dparam_size(_mechtype, 3); hoc_register_cvode(_mechtype, _ode_count, 0, 0, 0); hoc_register_var(hoc_scdoub, hoc_vdoub, hoc_intfunc); ivoc_help("help ?1 kht /Users/lampochka/Desktop/GitHub/Spencermodel/x86_64/kht.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
JNIEXPORT jlong JNICALL Java_neuron_Neuron_getNewHObject (JNIEnv *env, jclass, jstring name, jint narg){ jnisave const char* cn = env->GetStringUTFChars(name, 0); // Symbol* s = hoc_table_lookup(cn, hoc_top_level_symlist); Symbol* s = hoc_lookup(cn); if (!s || s->type != TEMPLATE) { printf("getNewHObject could not lookup %s or it is not a template.\n", cn); return 0; } env->ReleaseStringUTFChars(name, cn); Object* o = hoc_newobj1(s, narg); hoc_obj_ref(o); jnirestore return (jlong)o; }
void _coarse_diffdemo_reg() { int _vectorized = 1; _initlists(); ion_reg("A", 2.0); _A_sym = hoc_lookup("A_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 1); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_prop_size(_mechtype, 6, 2); nrn_writes_conc(_mechtype, 0); hoc_register_var(hoc_scdoub, hoc_vdoub, hoc_intfunc); ivoc_help("help ?1 cdiffdemo /Users/danielaaron/Documents/Research/NEURON/current/STEPS-NEURON/Diffusion Demo/x86_64/coarse_diffdemo.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _calH_reg() { int _vectorized = 0; _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, 0); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_prop_size(_mechtype, 14, 3); hoc_register_cvode(_mechtype, _ode_count, 0, 0, 0); hoc_register_var(hoc_scdoub, hoc_vdoub, hoc_intfunc); ivoc_help("help ?1 calH /home/bandi/workspace/UCL/Poirazi2003/ModelDB_NEURON/mechanism/x86_64/calH.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _IT2_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, 1); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_dparam_size(_mechtype, 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 it2 /home/park/Programming/hoc/Belmabrouk/mod/x86_64/IT2.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _ca_debug_bh_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, 1); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_prop_size(_mechtype, 12, 3); 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_debug_Bh /Users/ossenimazidabiodoun/Documents/CA1_Electrophysiologic_Models/CA1_Electrophysiologic_Models/Bhalla_Model_Fonctionnel/Mod_Files/x86_64/ca_debug_bh.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _kaprox_reg() { int _vectorized = 0; _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, 0); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_prop_size(_mechtype, 9, 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 kap /home/nmsutton/Documents/Software/MemoryModule/MemoryModule/obliques/x86_64/kaprox.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _it2_reg() { int _vectorized = 0; _initlists(); ion_reg("Ca", 2.0); _Ca_sym = hoc_lookup("Ca_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 0); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_dparam_size(_mechtype, 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 it2 /Users/jiemei/Desktop/combined_v2/trial/interneuron/x86_64/it2.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _na_reg() { int _vectorized = 1; _initlists(); ion_reg("na", -10000.); _na_sym = hoc_lookup("na_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 1); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_prop_size(_mechtype, 28, 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 na /Users/imagining/Documents/NIH_BRAIN/Action Potential/x86_64/na.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _cal2_reg() { int _vectorized = 0; _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, 0); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_prop_size(_mechtype, 9, 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 cal /Users/Nicolas/Desktop/database/NEURON/ca3b/x86_64/cal2.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void nrniv_recalc_ptrs() { // PlayRecord and PreSyn pointers net_cvode_instance->recalc_ptrs(); hoc_List* hl; hoc_Item* q; #if HAVE_IV // update pointers used by Graph if (!grsym_) { grsym_ = hoc_lookup("Graph"); assert(grsym_->type == TEMPLATE); } hl = grsym_->u.ctemplate->olist; ITERATE(q, hl) { Object* obj = OBJ(q); Graph* g = (Graph*)obj->u.this_pointer; if (g) {g->update_ptrs();} }
void _NaxSH10_ChannelML_reg() { int _vectorized = 1; _initlists(); ion_reg("na", 1.0); _na_sym = hoc_lookup("na_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 1); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_prop_size(_mechtype, 78, 3); 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 NaxSH10_ChannelML /home/Simon/NML2_Test/AOB_mitral_cell/x86_64/NaxSH10_ChannelML.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _NaTs2_t_reg() { int _vectorized = 1; _initlists(); ion_reg("na", -10000.); _na_sym = hoc_lookup("na_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 1); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_prop_size(_mechtype, 18, 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 NaTs2_t /home/lastis/Desktop/Neurons/day4/hay_model/mod/x86_64/NaTs2_t.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _KA_i1_reg() { int _vectorized = 0; _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, 0); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); hoc_register_prop_size(_mechtype, 10, 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 KA_i1 /home/neuro/Documents/from_axon/ca1n1-mod/x86_64/KA_i1.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _Na_soma_reg() { int _vectorized = 1; _initlists(); ion_reg("na", 1.0); _na_sym = hoc_lookup("na_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 1); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); _nrn_thread_table_reg(_mechtype, _check_table_thread); hoc_register_prop_size(_mechtype, 18, 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 Na_soma /home/osboxes/optimizer_canon/tests/ca1_pc_simplification/mod_files/x86_64/Na_soma.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }
void _NaxSH10_ChannelML_reg() { int _vectorized = 1; _initlists(); ion_reg("na", 1.0); _na_sym = hoc_lookup("na_ion"); register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 1); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); _nrn_thread_reg(_mechtype, 2, _update_ion_pointer); _nrn_thread_table_reg(_mechtype, _check_table_thread); hoc_register_prop_size(_mechtype, 14, 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 NaxSH10_ChannelML /home/Simon/Channel_Kinetics/AccessoryOlfactoryBulb/MitralCell/neuroConstruct/AOB_MC_Single_Channel_Tests/generatedNEURON/x86_64/NaxSH10_ChannelML.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); }