#include <../../nrnconf.h>
#include <nrnmpiuse.h>
#include <stdio.h>
#include <stdlib.h>
#include "section.h"
#include "parse.h"
#include "membfunc.h"
#include "cabvars.h"
#include "neuron.h"
#include "membdef.h"
#include "nrnmpi.h"
#define CHECK | ( | name | ) |
_modl_cleanup | ( | ) |
double _modl_get_dt_thread | ( | NrnThread * | nt | ) |
References NrnThread::_dt.
_modl_set_dt | ( | double | newdt | ) |
References NrnThread::_dt, dt, and nrn_threads.
_modl_set_dt_thread | ( | double | newdt, | |
NrnThread * | nt | |||
) |
References NrnThread::_dt.
References Memb_func::_update_ion_pointers, Memb_func::thread_cleanup_, and Memb_func::thread_mem_init_.
Referenced by _hh_reg_().
References Memb_func::thread_table_check_.
Referenced by _hh_reg_().
References nrn_artcell_qindex_, and nrn_is_artificial_.
Referenced by _intfire1_reg_(), _intfire2_reg_(), _intfire4_reg_(), _netstim_reg_(), and _pattern_reg_().
References erealloc, i, int, nrn_fornetcon_cnt_, nrn_fornetcon_index_, and nrn_fornetcon_type_.
References erealloc, nrn_has_net_event_, and nrn_has_net_event_cnt_.
Referenced by _intfire1_reg_(), _intfire2_reg_(), _intfire4_reg_(), and _netstim_reg_().
hoc_last_init | ( | ) |
References Memb_func::alloc, BEFORE_AFTER_SIZE, cab_alloc(), CHECK, ecalloc, Fprintf, getenv(), hoc_default_dll_loaded_, hoc_install(), hoc_l_newlist(), hoc_lookup(), hoc_register_limits(), hoc_register_units(), hoc_register_var(), i, IGNORE, m, memb_order_, modl_reg(), morph_alloc(), name, nrn_artcell_qindex_, nrn_dparam_ptr_end_, nrn_dparam_ptr_start_, nrn_is_artificial_, nrn_mech_dll, nrn_mk_prop_pools(), nrn_nobanner_, nrn_pnt_template_, nrn_prop_dparam_size_, nrn_threads_create(), nrn_version(), nrnmpi_myid, pnt_map, pnt_receive, pnt_receive_init, pnt_receive_size, register_mech(), Symbol::rng, s, SectionList_reg(), SectionRef_reg(), Symbol::subtype, Symbol::type, Symbol::u, USERPROPERTY, and VINDEX.
hoc_nrn_load_dll | ( | ) |
References expand_env_var(), gargstr(), hoc_warning(), i, and ret.
References AFTER_INITIAL, AFTER_SOLVE, BEFORE_BREAKPOINT, BEFORE_INITIAL, BEFORE_STEP, emalloc, BAMech::f, BAMech::next, nrn_exit(), and BAMech::type.
References nrn_prop_dparam_size_.
Referenced by _apcount_reg_(), _exp2syn_reg_(), _expsyn_reg_(), _hh_reg_(), _intfire1_reg_(), _intfire2_reg_(), _intfire4_reg_(), _netstim_reg_(), _oclmp_reg_(), _passive_reg_(), _pattern_reg_(), _ppmark_reg_(), _stim_reg_(), _svclmp_reg_(), _syn_reg_(), _vclmp_reg_(), and _xmech_reg_().
hoc_register_limits | ( | int | type, | |
HocParmLimits* | limits | |||
) |
References hoc_lookup(), hoc_symbol_limits(), hoc_table_lookup(), i, name, Symbol::name, HocParmLimits::name, t, Symbol::template, and Symbol::u.
Referenced by _apcount_reg_(), _exp2syn_reg_(), _expsyn_reg_(), _hh_reg_(), _intfire1_reg_(), _intfire2_reg_(), _intfire4_reg_(), _netstim_reg_(), _oclmp_reg_(), _passive_reg_(), _pattern_reg_(), _ppmark_reg_(), _stim_reg_(), _svclmp_reg_(), _syn_reg_(), _vclmp_reg_(), _xmech_reg_(), and hoc_last_init().
hoc_register_tolerance | ( | int | type, | |
HocStateTolerance* | tol, | |||
Symbol*** | stol | |||
) |
References Symbol::arayinfo, assert, Prop::dparam, ecalloc, hoc_lookup(), hoc_symbol_tolerance(), hoc_table_lookup(), i, index, ISARRAY, MORPHOLOGY, n, name, Symbol::name, HocStateTolerance::name, Prop::next, node_construct(), node_destruct(), Prop::param, Prop::param_size, Symbol::ppsym, prop, prop_alloc(), Symbol::rng, Symbol::s_varn, Arrayinfo::sub, Memb_func::sym, t, Symbol::template, Symbol::type, Prop::type, and Symbol::u.
Referenced by _exp2syn_reg_(), _expsyn_reg_(), and _hh_reg_().
hoc_register_units | ( | int | type, | |
HocParmUnits* | units | |||
) |
References hoc_lookup(), hoc_symbol_units(), hoc_table_lookup(), i, name, Symbol::name, HocParmUnits::name, t, Symbol::template, and Symbol::u.
Referenced by _apcount_reg_(), _exp2syn_reg_(), _expsyn_reg_(), _hh_reg_(), _intfire1_reg_(), _intfire2_reg_(), _intfire4_reg_(), _netstim_reg_(), _oclmp_reg_(), _passive_reg_(), _pattern_reg_(), _ppmark_reg_(), _stim_reg_(), _svclmp_reg_(), _syn_reg_(), _vclmp_reg_(), _xmech_reg_(), and hoc_last_init().
Symbol* hoc_table_lookup | ( | ) |
initnrn | ( | ) |
References celsius, clamp_resist, DEF_celsius, DEF_clamp_resist, DEF_dt, DEF_secondorder, dt, ret, secondorder, and t.
References nrn_is_artificial_, and Symbol::subtype.
int nrn_is_cable | ( | ) |
int nrn_pointing | ( | double * | pd | ) |
Referenced by hoc_last_init().
char* nrn_version | ( | ) |
References i, memb_order_, and nrn_is_ion().
Referenced by ion_reg().
References Memb_func::is_point, nrnpy_reg_mech_p_, pnt_map, and Symbol::public.
Referenced by make_pointprocess().
register_destructor | ( | Pfri | d | ) |
References Memb_func::destructor.
Referenced by _pattern_reg_().
register_mech | ( | char ** | m, | |
Pfri | alloc, | |||
Pfri | cur, | |||
Pfri | jacob, | |||
Pfri | stat, | |||
Pfri | initialize, | |||
int | nrnpointerindex, | |||
vectorized | ||||
) |
References Memb_list::_thread, Memb_func::_update_ion_pointers, Arrayinfo::a_varn, Memb_func::alloc, Symbol::arayinfo, buf, CHECK, CONST, Memb_func::current, Memb_func::destructor, emalloc, erealloc, fprintf(), hoc_install(), hoc_lookup(), Memb_func::hoc_mech, IGNORE, indx, Memb_func::initialize, int, Memb_func::is_point, Memb_func::jacob, memb_order_, Memb_list::nodecount, nrn_artcell_qindex_, nrn_dparam_ptr_end_, nrn_dparam_ptr_start_, nrn_exit(), nrn_is_artificial_, nrn_mk_prop_pools(), nrn_pnt_template_, nrn_prop_dparam_size_, NRNPOINTER, nrnpy_reg_mech_p_, Arrayinfo::nsub, pnt_map, pnt_receive, pnt_receive_init, pnt_receive_size, Symbol::ppsym, Symbol::public, Arrayinfo::refcount, Symbol::rng, s, Symbol::s_varn, STATE, Memb_func::state, Arrayinfo::sub, Symbol::subtype, Memb_func::sym, Memb_func::thread_cleanup_, Memb_func::thread_mem_init_, Memb_func::thread_size_, Memb_func::thread_table_check_, type, Symbol::u, and Memb_func::vectorized.
Referenced by _hh_reg_(), _passive_reg_(), _xmech_reg_(), KSChan::add_channel(), capac_reg_(), hoc_last_init(), ion_reg(), and passive0_reg_().
state_discontinuity | ( | int | i, | |
double* | pd, | |||
double | d | |||
) |
References state_discon_allowed_.
Referenced by nrn_finitialize().
double clamp_resist |
Referenced by clamp_prepare(), fclampi(), initnrn(), and print_clamp().
double dt |
double hoc_default_dll_loaded_ |
Referenced by hoc_last_init().
double htablemax |
double htablemin |
Referenced by NrnProperty::assign(), SaveState::checkacell(), SaveState::checknode(), NonLinImpRep::current(), NonLinImpRep::delta(), NonLinImpRep::dids(), NonLinImpRep::didv(), NonLinImpRep::dsds(), NonLinImpRep::dsdv(), for(), hoc_new_opoint(), hoc_reg_singlechan(), MechanismType::insert(), ion_charge(), ion_reg(), ion_register(), NrnProperty::is_point(), ismembrane(), MechanismType::MechanismType(), MechanismType::menu(), nernst(), NonLinImpRep::NonLinImpRep(), nonvint(), nrn_cache_prop_realloc(), nrn_errno_check(), nrn_finitialize(), nrn_is_ion(), nrn_lhs(), nrn_mk_table_check(), nrn_new_pointprocess(), nrn_relocate_old_points(), nrn_rhs(), nrn_thread_table_check(), nrn_threads_free(), nrnpointmenu(), NrnPropertyImpl::NrnPropertyImpl(), nrnpy_setpointer_helper(), NonLinImpRep::ode(), MechanismType::point_process(), prop_alloc(), MechanismType::remove(), MechanismType::select(), MechanismType::selected(), KSChan::set_single(), KSChan::setion(), KSChan::setligand(), KSChan::settype(), SaveState::ssi_def(), and KSChan::usetable().
short* memb_order_ |
Referenced by hoc_last_init(), nrn_finitialize(), nrn_writes_conc(), and register_mech().
Referenced by MechanismType::MechanismType(), nrn_finitialize(), nrnallpointmenu(), SaveState::SaveState(), and SaveState::ssi_def().
short* nrn_artcell_qindex_ |
Referenced by add_nrn_artcell(), hoc_last_init(), and register_mech().
Referenced by hoc_last_init(), and register_mech().
Referenced by hoc_last_init(), and register_mech().
Referenced by add_nrn_fornetcons().
Referenced by add_nrn_fornetcons().
Referenced by add_nrn_fornetcons().
int nrn_global_ncell = 0 |
Referenced by SaveState::check(), if(), and nrn_modeltype().
Referenced by add_nrn_has_net_event(), and MechanismType::has_net_event().
Referenced by add_nrn_has_net_event(), and MechanismType::has_net_event().
short* nrn_is_artificial_ |
Referenced by add_nrn_artcell(), create_point_process(), get_loc_point_process(), hoc_last_init(), MechanismType::is_artificial(), loc_point_process(), nrn_finitialize(), nrn_is_artificial(), nrn_loc_point_process(), nrn_vecsim_add(), SaveState::read(), register_mech(), SaveState::restore(), SaveState::save(), SaveState::SaveState(), and SaveState::write().
Referenced by hoc_reg_singlechan(), and ivocmain().
Referenced by hoc_last_init(), and ivocmain().
Template** nrn_pnt_template_ |
Referenced by hoc_last_init(), nrn_finitialize(), and register_mech().
Referenced by hoc_last_init(), hoc_register_dparam_size(), and register_mech().
void(* nrnpy_reg_mech_p_)(int) |
Referenced by nrnpy_nrn(), point_reg_helper(), and register_mech().
char* pnt_map |
Referenced by hoc_last_init(), MechanismType::is_netcon_target(), register_mech(), and SaveState::ssi_def().
Referenced by hoc_last_init(), and register_mech().
short* pnt_receive_size |
Referenced by hoc_last_init(), and register_mech().
Referenced by nrnallpointmenu().
int secondorder = 0 |
Referenced by initnrn(), linmod_init(), and nrn_daspk_init_step().
Referenced by forall_section(), new_sections(), nrn_shape_update(), nrnpy_forall(), and topology().
Referenced by fcurrent(), nrn_finitialize(), nrn_initcode(), and state_discontinuity().
double t |