User Guide
|
different variable names used in code generation More...
different variable names used in code generation
Variables | |
static constexpr char | NMODL_VERSION [] = "7.7.0" |
nmodl language version More... | |
static constexpr char | DERIVIMPLICIT_METHOD [] = "derivimplicit" |
derivimplicit method in nmodl More... | |
static constexpr char | EULER_METHOD [] = "euler" |
euler method in nmodl More... | |
static constexpr char | CNEXP_METHOD [] = "cnexp" |
cnexp method in nmodl More... | |
static constexpr char | AFTER_CVODE_METHOD [] = "after_cvode" |
cvode method in nmodl More... | |
static constexpr char | CVODE_T_METHOD [] = "cvode_t" |
cvode_t method in nmodl More... | |
static constexpr char | CVODE_T_V_METHOD [] = "cvode_t_v" |
cvode_t_v method in nmodl More... | |
static constexpr char | SPARSE_METHOD [] = "sparse" |
sparse method in nmodl More... | |
static constexpr char | NET_EVENT_METHOD [] = "net_event" |
net_event function call in nmodl More... | |
static constexpr char | NET_MOVE_METHOD [] = "net_move" |
net_move function call in nmodl More... | |
static constexpr char | NET_SEND_METHOD [] = "net_send" |
net_send function call in nmodl More... | |
static constexpr char | NRN_POINTING_METHOD [] = "nrn_pointing" |
nrn_pointing function in nmodl More... | |
static constexpr char | ARTIFICIAL_CELL [] = "ARTIFICIAL_CELL" |
artificial cell keyword in nmodl More... | |
static constexpr char | POINT_PROCESS [] = "POINT_PROCESS" |
point process keyword in nmodl More... | |
static constexpr char | DIAM_VARIABLE [] = "diam" |
inbuilt neuron variable for diameter of the compartment More... | |
static constexpr char | NODE_AREA_VARIABLE [] = "node_area" |
inbuilt neuron variable for area of the compartment More... | |
static constexpr char | AREA_VARIABLE [] = "area" |
similar to node_area but user can explicitly declare it as area More... | |
static constexpr char | POINT_PROCESS_VARIABLE [] = "point_process" |
inbuilt neuron variable for point process More... | |
static constexpr char | TQITEM_VARIABLE [] = "tqitem" |
inbuilt neuron variable for tqitem process More... | |
static constexpr char | CONDUCTANCE_VARIABLE [] = "g" |
range variable for conductance More... | |
static constexpr char | USE_TABLE_VARIABLE [] = "usetable" |
global variable to indicate if table is used More... | |
static constexpr char | CONDUCTANCE_UNUSED_VARIABLE [] = "g_unused" |
range variable when conductance is not used (for vectorized model) More... | |
static constexpr char | VOLTAGE_UNUSED_VARIABLE [] = "v_unused" |
range variable for voltage when unused (for vectorized model) More... | |
static constexpr char | T_SAVE_VARIABLE [] = "tsave" |
variable t indicating last execution time of net receive block More... | |
static constexpr char | NTHREAD_RHS_SHADOW [] = "_shadow_rhs" |
shadow rhs variable in neuron thread structure More... | |
static constexpr char | NTHREAD_D_SHADOW [] = "_shadow_d" |
shadow d variable in neuron thread structure More... | |
static constexpr char | CELSIUS_VARIABLE [] = "celsius" |
global temperature variable More... | |
static constexpr char | INST_GLOBAL_MEMBER [] = "global" |
instance struct member pointing to the global variable structure More... | |
static constexpr char | NTHREAD_T_VARIABLE [] = "t" |
t variable in neuron thread structure More... | |
static constexpr char | NTHREAD_DT_VARIABLE [] = "dt" |
dt variable in neuron thread structure More... | |
static constexpr char | DEFAULT_FLOAT_TYPE [] = "double" |
default float variable type More... | |
static constexpr char | DEFAULT_LOCAL_VAR_TYPE [] = "double" |
default local variable type More... | |
static constexpr char | DEFAULT_INTEGER_TYPE [] = "int" |
default integer variable type More... | |
static constexpr char | AREA_SEMANTIC [] = "area" |
semantic type for area variable More... | |
static constexpr char | POINT_PROCESS_SEMANTIC [] = "pntproc" |
semantic type for point process variable More... | |
static constexpr char | POINTER_SEMANTIC [] = "pointer" |
semantic type for pointer variable More... | |
static constexpr char | CORE_POINTER_SEMANTIC [] = "bbcorepointer" |
semantic type for core pointer variable More... | |
static constexpr char | RANDOM_SEMANTIC [] = "random" |
semantic type for RANDOM variable More... | |
static constexpr char | NET_SEND_SEMANTIC [] = "netsend" |
semantic type for net send call More... | |
static constexpr char | WATCH_SEMANTIC [] = "watch" |
semantic type for watch statement More... | |
static constexpr char | FOR_NETCON_SEMANTIC [] = "fornetcon" |
semantic type for for_netcon statement More... | |
static constexpr char | FOR_NETCON_VARIABLE [] = "fornetcon_data" |
name of the integer variabe to store FOR_NETCON info. More... | |
static constexpr char | NRN_INIT_METHOD [] = "nrn_init" |
nrn_init method in generated code More... | |
static constexpr char | NRN_CONSTRUCTOR_METHOD [] = "nrn_constructor" |
nrn_constructor method in generated code More... | |
static constexpr char | NRN_DESTRUCTOR_METHOD [] = "nrn_destructor" |
nrn_destructor method in generated code More... | |
constexpr char | NRN_PRIVATE_CONSTRUCTOR_METHOD [] = "nrn_private_constructor" |
nrn_private_constructor method in generated code More... | |
constexpr char | NRN_PRIVATE_DESTRUCTOR_METHOD [] = "nrn_private_destructor" |
nrn_private_destructor method in generated code More... | |
static constexpr char | NRN_ALLOC_METHOD [] = "nrn_alloc" |
nrn_alloc method in generated code More... | |
static constexpr char | NRN_STATE_METHOD [] = "nrn_state" |
nrn_state method in generated code More... | |
static constexpr char | NRN_CUR_METHOD [] = "nrn_cur" |
nrn_cur method in generated code More... | |
static constexpr char | NRN_JACOB_METHOD [] = "nrn_jacob" |
nrn_jacob method in generated code More... | |
static constexpr char | NRN_WATCH_CHECK_METHOD [] = "nrn_watch_check" |
nrn_watch_check method in generated c++ file More... | |
static constexpr char | THREAD_ARGS [] = "_threadargs_" |
verbatim name of the variable for nrn thread arguments More... | |
static constexpr char | THREAD_ARGS_COMMA [] = "_threadargscomma_" |
verbatim name of the variable for nrn thread arguments, sometimes with trailing comma More... | |
static constexpr char | THREAD_ARGS_PROTO [] = "_threadargsproto_" |
verbatim name of the variable for nrn thread arguments in prototype More... | |
static constexpr char | THREAD_ARGS_PROTO_COMMA [] = "_threadargsprotocomma_" |
verbatim name of the variable for nrn thread arguments in prototype and a comma More... | |
static constexpr char | INTERNAL_THREAD_ARGS [] = "_internalthreadargs_" |
variation of _threadargs_ for "internal" functions. More... | |
static constexpr char | INTERNAL_THREAD_ARGS_COMMA [] = "_internalthreadargscomma_" |
variation of _threadargs_ for "internal" functions, with comma (maybe). More... | |
static constexpr char | INTERNAL_THREAD_ARGS_PROTO [] = "_internalthreadargsproto_" |
variation of _threadargsproto_ for "internal" functions. More... | |
static constexpr char | INTERNAL_THREAD_ARGS_PROTO_COMMA [] = "_internalthreadargsprotocomma_" |
variation of _threadargsproto_ for "internal" functions, possibly with comma. More... | |
static constexpr char | ION_VARNAME_PREFIX [] = "ion_" |
prefix for ion variable More... | |
static constexpr char | CVODE_COUNT_NAME [] = "ode_count" |
name of CVODE method for counting # of ODEs More... | |
static constexpr char | CVODE_UPDATE_NON_STIFF_NAME [] = "ode_update_nonstiff" |
name of CVODE method for updating non-stiff systems More... | |
static constexpr char | CVODE_UPDATE_STIFF_NAME [] = "ode_update_stiff" |
name of CVODE method for updating stiff systems More... | |
static constexpr char | CVODE_SETUP_NON_STIFF_NAME [] = "ode_setup_nonstiff" |
name of CVODE method for setting up non-stiff systems More... | |
static constexpr char | CVODE_SETUP_STIFF_NAME [] = "ode_setup_stiff" |
name of CVODE method for setting up stiff systems More... | |
static constexpr char | CVODE_SETUP_TOLERANCES_NAME [] = "ode_setup_tolerances" |
name of CVODE method for setting up tolerances More... | |
static constexpr char | CVODE_VARIABLE_NAME [] = "cvode_ieq" |
name of the CVODE variable (can be arbitrary) More... | |
static const std::unordered_map< std::string, std::string > | VERBATIM_VARIABLES_MAPPING |
commonly used variables in verbatim block and how they should be mapped to new code generation backends More... | |
static std::unordered_map< std::string, std::string > | RANDOM_FUNCTIONS_MAPPING |
|
staticconstexpr |
cvode method in nmodl
Definition at line 33 of file codegen_naming.hpp.
|
staticconstexpr |
semantic type for area variable
Definition at line 120 of file codegen_naming.hpp.
|
staticconstexpr |
similar to node_area but user can explicitly declare it as area
Definition at line 69 of file codegen_naming.hpp.
|
staticconstexpr |
artificial cell keyword in nmodl
Definition at line 57 of file codegen_naming.hpp.
|
staticconstexpr |
global temperature variable
Definition at line 99 of file codegen_naming.hpp.
|
staticconstexpr |
cnexp method in nmodl
Definition at line 30 of file codegen_naming.hpp.
|
staticconstexpr |
range variable when conductance is not used (for vectorized model)
Definition at line 84 of file codegen_naming.hpp.
|
staticconstexpr |
range variable for conductance
Definition at line 78 of file codegen_naming.hpp.
|
staticconstexpr |
semantic type for core pointer variable
Definition at line 129 of file codegen_naming.hpp.
|
staticconstexpr |
name of CVODE method for counting # of ODEs
Definition at line 204 of file codegen_naming.hpp.
|
staticconstexpr |
name of CVODE method for setting up non-stiff systems
Definition at line 213 of file codegen_naming.hpp.
|
staticconstexpr |
name of CVODE method for setting up stiff systems
Definition at line 216 of file codegen_naming.hpp.
|
staticconstexpr |
name of CVODE method for setting up tolerances
Definition at line 219 of file codegen_naming.hpp.
|
staticconstexpr |
cvode_t method in nmodl
Definition at line 36 of file codegen_naming.hpp.
|
staticconstexpr |
cvode_t_v method in nmodl
Definition at line 39 of file codegen_naming.hpp.
|
staticconstexpr |
name of CVODE method for updating non-stiff systems
Definition at line 207 of file codegen_naming.hpp.
|
staticconstexpr |
name of CVODE method for updating stiff systems
Definition at line 210 of file codegen_naming.hpp.
|
staticconstexpr |
name of the CVODE variable (can be arbitrary)
Definition at line 222 of file codegen_naming.hpp.
|
staticconstexpr |
default float variable type
Definition at line 111 of file codegen_naming.hpp.
|
staticconstexpr |
default integer variable type
Definition at line 117 of file codegen_naming.hpp.
|
staticconstexpr |
default local variable type
Definition at line 114 of file codegen_naming.hpp.
|
staticconstexpr |
derivimplicit method in nmodl
Definition at line 24 of file codegen_naming.hpp.
|
staticconstexpr |
inbuilt neuron variable for diameter of the compartment
Definition at line 63 of file codegen_naming.hpp.
|
staticconstexpr |
euler method in nmodl
Definition at line 27 of file codegen_naming.hpp.
|
staticconstexpr |
semantic type for for_netcon statement
Definition at line 141 of file codegen_naming.hpp.
|
staticconstexpr |
name of the integer variabe to store FOR_NETCON info.
Definition at line 144 of file codegen_naming.hpp.
|
staticconstexpr |
instance struct member pointing to the global variable structure
Definition at line 102 of file codegen_naming.hpp.
|
staticconstexpr |
variation of _threadargs_
for "internal" functions.
Definition at line 189 of file codegen_naming.hpp.
|
staticconstexpr |
variation of _threadargs_
for "internal" functions, with comma (maybe).
Definition at line 192 of file codegen_naming.hpp.
|
staticconstexpr |
variation of _threadargsproto_
for "internal" functions.
Definition at line 195 of file codegen_naming.hpp.
|
staticconstexpr |
variation of _threadargsproto_
for "internal" functions, possibly with comma.
Definition at line 198 of file codegen_naming.hpp.
|
staticconstexpr |
prefix for ion variable
Definition at line 201 of file codegen_naming.hpp.
|
staticconstexpr |
net_event function call in nmodl
Definition at line 45 of file codegen_naming.hpp.
|
staticconstexpr |
net_move function call in nmodl
Definition at line 48 of file codegen_naming.hpp.
|
staticconstexpr |
net_send function call in nmodl
Definition at line 51 of file codegen_naming.hpp.
|
staticconstexpr |
semantic type for net send call
Definition at line 135 of file codegen_naming.hpp.
|
staticconstexpr |
nmodl language version
Definition at line 21 of file codegen_naming.hpp.
|
staticconstexpr |
inbuilt neuron variable for area of the compartment
Definition at line 66 of file codegen_naming.hpp.
|
staticconstexpr |
nrn_alloc method in generated code
Definition at line 162 of file codegen_naming.hpp.
|
staticconstexpr |
nrn_constructor method in generated code
Definition at line 150 of file codegen_naming.hpp.
|
staticconstexpr |
nrn_cur method in generated code
Definition at line 168 of file codegen_naming.hpp.
|
staticconstexpr |
nrn_destructor method in generated code
Definition at line 153 of file codegen_naming.hpp.
|
staticconstexpr |
nrn_init method in generated code
Definition at line 147 of file codegen_naming.hpp.
|
staticconstexpr |
nrn_jacob method in generated code
Definition at line 171 of file codegen_naming.hpp.
|
staticconstexpr |
nrn_pointing function in nmodl
Definition at line 54 of file codegen_naming.hpp.
|
inlineconstexpr |
nrn_private_constructor method in generated code
Definition at line 156 of file codegen_naming.hpp.
|
inlineconstexpr |
nrn_private_destructor method in generated code
Definition at line 159 of file codegen_naming.hpp.
|
staticconstexpr |
nrn_state method in generated code
Definition at line 165 of file codegen_naming.hpp.
|
staticconstexpr |
nrn_watch_check method in generated c++ file
Definition at line 174 of file codegen_naming.hpp.
|
staticconstexpr |
shadow d variable in neuron thread structure
Definition at line 96 of file codegen_naming.hpp.
|
staticconstexpr |
dt variable in neuron thread structure
Definition at line 108 of file codegen_naming.hpp.
|
staticconstexpr |
shadow rhs variable in neuron thread structure
Definition at line 93 of file codegen_naming.hpp.
|
staticconstexpr |
t variable in neuron thread structure
Definition at line 105 of file codegen_naming.hpp.
|
staticconstexpr |
point process keyword in nmodl
Definition at line 60 of file codegen_naming.hpp.
|
staticconstexpr |
semantic type for point process variable
Definition at line 123 of file codegen_naming.hpp.
|
staticconstexpr |
inbuilt neuron variable for point process
Definition at line 72 of file codegen_naming.hpp.
|
staticconstexpr |
semantic type for pointer variable
Definition at line 126 of file codegen_naming.hpp.
|
static |
Definition at line 241 of file codegen_naming.hpp.
|
staticconstexpr |
semantic type for RANDOM variable
Definition at line 132 of file codegen_naming.hpp.
|
staticconstexpr |
sparse method in nmodl
Definition at line 42 of file codegen_naming.hpp.
|
staticconstexpr |
variable t indicating last execution time of net receive block
Definition at line 90 of file codegen_naming.hpp.
|
staticconstexpr |
verbatim name of the variable for nrn thread arguments
Definition at line 177 of file codegen_naming.hpp.
|
staticconstexpr |
verbatim name of the variable for nrn thread arguments, sometimes with trailing comma
Definition at line 180 of file codegen_naming.hpp.
|
staticconstexpr |
verbatim name of the variable for nrn thread arguments in prototype
Definition at line 183 of file codegen_naming.hpp.
|
staticconstexpr |
verbatim name of the variable for nrn thread arguments in prototype and a comma
Definition at line 186 of file codegen_naming.hpp.
|
staticconstexpr |
inbuilt neuron variable for tqitem process
Definition at line 75 of file codegen_naming.hpp.
|
staticconstexpr |
global variable to indicate if table is used
Definition at line 81 of file codegen_naming.hpp.
|
static |
commonly used variables in verbatim block and how they should be mapped to new code generation backends
Definition at line 227 of file codegen_naming.hpp.
|
staticconstexpr |
range variable for voltage when unused (for vectorized model)
Definition at line 87 of file codegen_naming.hpp.
|
staticconstexpr |
semantic type for watch statement
Definition at line 138 of file codegen_naming.hpp.