1 #include <../../nrnconf.h>
18 extern int numprocs(), myproc(), psync();
22 extern void hoc_winio_show(
int b);
30 {
"obfunc", HOCOBJFUNC},
33 {
"continue", CONTINUE},
40 {
"delete", parseDELETE},
43 {
"double", parseDOUBLE},
44 {
"depvar", DEPENDENT},
47 {
"localobj", LOCALOBJ},
50 {
"iterator", ITERKEYWORD},
51 {
"iterator_statement", ITERSTMT},
52 {
"create", SECTIONKEYWORD},
53 {
"connect", CONNECTKEYWORD},
54 {
"setpointer", SETPOINTERKEYWORD},
55 {
"access", ACCESSKEYWORD},
56 {
"insert", INSERTKEYWORD},
57 {
"uninsert", UNINSERTKEYWORD},
61 {
"begintemplate", BEGINTEMPLATE},
62 {
"endtemplate", ENDTEMPLATE},
63 {
"objectvar", OBJVARDECL},
64 {
"objref", OBJVARDECL},
65 {
"public", PUBLICDECL},
66 {
"external", EXTERNALDECL},
72 }
consts[] = {{
"PI", 3.14159265358979323846},
73 {
"E", 2.71828182845904523536},
74 {
"GAMMA", 0.57721566490153286060},
75 {
"DEG", 57.29577951308232087680},
76 {
"PHI", 1.61803398874989484820},
191 {
"numprocs", numprocs},
196 {
"WinExec", hoc_win_exec},
199 {
"nrn_digest", nrn_digest},
238 const char* envvar = getenv(
"NRNUNIT_USE_LEGACY");
241 "NRNUNIT_USE_LEGACY is deprecated as only modern units are supported with NEURON "
243 "If you want to still use legacy unit you can use a NEURON version < 9");
244 if (strcmp(envvar,
"1") == 0) {
246 "'NRNUNIT_USE_LEGACY=1' is set but legacy units support is removed with NEURON "
272 s->u.u_proc->nauto = 0;
273 s->u.u_proc->nobjauto = 0;
277 s->type = STRINGFUNC;
279 s->u.u_proc->nauto = 0;
280 s->u.u_proc->nobjauto = 0;
284 s->type = OBJECTFUNC;
286 s->u.u_proc->nauto = 0;
325 int b = (int)
chkarg(1, 0., 1.);
370 char* c2 = (
char*) 0;
void hoc_Retrieveaudit(void)
void hoc_Symbol_limits(void)
void hoc_neuronhome(void)
void hoc_name_declared(void)
void hoc_Symbol_units(void)
#define FORALL(state, dstate)
double chkarg(int, double low, double high)
void hoc_load_template(void)
void hoc_machine_name(void)
void hoc_pushstr(char **d)
Symbol * hoc_install(const char *, int, double, Symlist **)
char ** hoc_temp_charptr(void)
void hoc_retpushx(double x)
Symbol * hoc_install_var(const char *, double *)
void hoc_class_registration(void)
void hoc_execerror_mes(const char *s, const char *t, int prnt)
void nrn_feenableexcept()
void hoc_coredump_on_error(void)
void hoc_show_errmess_always(void)
void hoc_show_winio(void)
void hoc_unix_mac_pc(void)
void hoc_get_config_key()
static struct @40 consts[]
static struct @43 strfun_bltin[]
void hoc_get_config_val()
static struct @39 keywords[]
static struct @44 objfun_bltin[]
void hoc_nrnversion(void)
static struct @42 fun_bltin[]
const char * nrn_mech_dll
static struct @41 builtins[]
double hoc_default_dll_loaded_
void hoc_num_config_keys()
int nrn_noauto_dlopen_nrnmech
void hoc_allobjects(void)
void hoc_allobjectvars(void)
void hoc_install_hoc_obj(void)
void hoc_object_push(void)
void hoc_object_pushed(void)
void hoc_object_pop(void)
Symlist * hoc_top_level_symlist
void hoc_single_event_run()
void hoc_use_exp_pow_precision()
double hoc_Sqrt(double x)
double hoc_Log10(double x)
double hoc1_Exp(double x)
double hoc_integer(double x)
void hoc_execerror(const char *s1, const char *s2)
static void * emalloc(size_t size)
void hoc_warning(const char *s1, const char *s2)
std::size_t nrn_num_config_keys()
Get the number of NEURON configuration items.
char * nrn_get_config_val(std::size_t i)
Get the ith NEURON configuration value.
char * nrn_get_config_key(std::size_t i)
Get the ith NEURON configuration key.
#define nrn_assert(x)
assert()-like macro, independent of NDEBUG status
void hoc_nrn_load_dll(void)
constexpr double _avogadro_number_codata2018
constexpr double _faraday_codata2018
constexpr double _gasconstant_codata2018
void set_use_mcran4(bool value)
void hoc_coreneuron_handle()
void hoc_continue_dialog()
void hoc_boolean_dialog()
Symlist * hoc_built_in_symlist