![]() |
NEURON
|
#include "neuron/container/generic_data_handle.hpp"
#include "options.h"
#include "neuron/container/data_handle.hpp"
Go to the source code of this file.
Functions | |
double | cable_prop_eval (Symbol *sym) |
double * | cable_prop_eval_pointer (Symbol *sym) |
void | oc_save_cabcode (int *a1, int *a2) |
void | oc_restore_cabcode (int *a1, int *a2) |
void | nrn_initcode () |
void | nrn_pushsec (Section *) |
Object * | nrn_sec2cell (Section *sec) |
int | nrn_sec2cell_equals (Section *sec, Object *obj) |
void | new_sections (Object *ob, Symbol *sym, hoc_Item **pitm, int size) |
Section * | section_new (Symbol *sym) |
Creates a new section and registers with the global section list. More... | |
int | arc0at0 (Section *) |
double | nrn_ra (Section *) |
void | cab_alloc (Prop *) |
void | morph_alloc (Prop *p) |
double | nrn_diameter (Node *nd) |
double | section_length (Section *sec) |
Section * | chk_access () |
Section * | nrn_noerr_access () |
return 0 if no accessed section More... | |
void | nrn_disconnect (Section *sec) |
Section * | nrn_sec_pop () |
void | ob_sec_access_push (hoc_Item *qsec) |
void | mech_insert1 (Section *sec, int type) |
void | mech_uninsert1 (Section *sec, Symbol *s) |
void | nrn_rangeconst (Section *, Symbol *, neuron::container::data_handle< double > value, int op) |
Prop * | nrn_mechanism (int type, Node *nd) |
Prop * | nrn_mechanism_check (int type, Section *sec, int inode) |
returns prop given mech type, section, and inode error if mech not at this position More... | |
Prop * | hoc_getdata_range (int type) |
int | nrn_exists (Symbol *s, Node *node) |
neuron::container::data_handle< double > | nrn_rangepointer (Section *sec, Symbol *s, double d) |
neuron::container::generic_data_handle | nrnpy_rangepointer (Section *, Symbol *, double, int *, int) |
return nullptr if failure instead of hoc_execerror and return pointer to the 0 element if an array More... | |
int | node_index (Section *sec, double x) |
returns nearest index to x More... | |
int | node_index_exact (Section *sec, double x) |
return -1 if x at connection end, nnode-1 if at other end More... | |
void | nrn_change_nseg (Section *sec, int n) |
void | cable_prop_assign (Symbol *sym, double *pd, int op) |
double | nrn_connection_position (Section *) |
double | nrn_section_orientation (Section *) |
int | nrn_at_beginning (Section *sec) |
Section * | nrn_trueparent (Section *) |
void | nrn_parent_info (Section *s) |
void | setup_topology () |
const char * | secname (Section *sec) |
name of section (for use in error messages) More... | |
char * | hoc_section_pathname (Section *sec) |
double | nrn_arc_position (Section *sec, Node *node) |
const char * | sec_and_position (Section *sec, Node *nd) |
int | segment_limits (double *) |
Node * | node_exact (Section *sec, double x) |
like node_index but give proper node when x is 0 or 1 as well as in between More... | |
Node * | node_ptr (Section *sec, double x, double *parea) |
neuron::container::data_handle< double > | dprop (Symbol *s, int indx, Section *sec, short inode) |
returns location of property symbol More... | |
neuron::container::generic_data_handle | nrnpy_dprop (Symbol *s, int indx, Section *sec, short inode, int *err) |
returns location of property symbol, return nullptr instead of hoc_execerror More... | |
int | has_membrane (char *mechanism_name, Section *sec) |
void | hoc_level_pushsec (Section *sec) |
turn off section stack fixing (in case of return, continue, break in a section statement) between explicit user level push_section, etc and pop_section More... | |
Section * | nrn_section_exists (char *name, int indx, Object *cell) |
double * | nrn_vext_pd (Symbol *s, int indx, Node *nd) |
int arc0at0 | ( | Section * | sec | ) |
Definition at line 413 of file cabcode.cpp.
void cab_alloc | ( | Prop * | p | ) |
Definition at line 421 of file cabcode.cpp.
void cable_prop_assign | ( | Symbol * | sym, |
double * | pd, | ||
int | op | ||
) |
Definition at line 1512 of file cabcode.cpp.
double cable_prop_eval | ( | Symbol * | sym | ) |
Definition at line 1447 of file cabcode.cpp.
double* cable_prop_eval_pointer | ( | Symbol * | sym | ) |
Definition at line 1461 of file cabcode.cpp.
Section* chk_access | ( | ) |
Definition at line 449 of file cabcode.cpp.
neuron::container::data_handle<double> dprop | ( | Symbol * | s, |
int | indx, | ||
Section * | sec, | ||
short | inode | ||
) |
returns location of property symbol
Definition at line 1922 of file cabcode.cpp.
int has_membrane | ( | char * | mechanism_name, |
Section * | sec | ||
) |
Definition at line 2061 of file cabcode.cpp.
Prop* hoc_getdata_range | ( | int | type | ) |
Definition at line 1065 of file cabcode.cpp.
void hoc_level_pushsec | ( | Section * | sec | ) |
turn off section stack fixing (in case of return, continue, break in a section statement) between explicit user level push_section, etc and pop_section
Definition at line 2187 of file cabcode.cpp.
char* hoc_section_pathname | ( | Section * | sec | ) |
Definition at line 1728 of file cabcode.cpp.
void mech_insert1 | ( | Section * | sec, |
int | type | ||
) |
Definition at line 852 of file cabcode.cpp.
Definition at line 898 of file cabcode.cpp.
void morph_alloc | ( | Prop * | p | ) |
Definition at line 438 of file cabcode.cpp.
like node_index but give proper node when x is 0 or 1 as well as in between
Definition at line 1800 of file cabcode.cpp.
int node_index | ( | Section * | sec, |
double | x | ||
) |
returns nearest index to x
Definition at line 1406 of file cabcode.cpp.
int node_index_exact | ( | Section * | sec, |
double | x | ||
) |
return -1 if x at connection end, nnode-1 if at other end
Definition at line 1426 of file cabcode.cpp.
Definition at line 1828 of file cabcode.cpp.
Definition at line 1755 of file cabcode.cpp.
int nrn_at_beginning | ( | Section * | sec | ) |
Definition at line 1560 of file cabcode.cpp.
void nrn_change_nseg | ( | Section * | sec, |
int | n | ||
) |
Definition at line 1482 of file cabcode.cpp.
double nrn_connection_position | ( | Section * | sec | ) |
Definition at line 1552 of file cabcode.cpp.
double nrn_diameter | ( | Node * | nd | ) |
Definition at line 444 of file cabcode.cpp.
void nrn_disconnect | ( | Section * | sec | ) |
Definition at line 593 of file cabcode.cpp.
Definition at line 1258 of file cabcode.cpp.
void nrn_initcode | ( | ) |
Definition at line 107 of file cabcode.cpp.
Definition at line 1038 of file cabcode.cpp.
returns prop given mech type, section, and inode error if mech not at this position
Definition at line 1050 of file cabcode.cpp.
Section* nrn_noerr_access | ( | ) |
return 0 if no accessed section
Definition at line 474 of file cabcode.cpp.
void nrn_parent_info | ( | Section * | s | ) |
Definition at line 1589 of file cabcode.cpp.
void nrn_pushsec | ( | Section * | sec | ) |
Definition at line 130 of file cabcode.cpp.
double nrn_ra | ( | Section * | sec | ) |
Definition at line 417 of file cabcode.cpp.
void nrn_rangeconst | ( | Section * | sec, |
Symbol * | s, | ||
neuron::container::data_handle< double > | value, | ||
int | op | ||
) |
Definition at line 935 of file cabcode.cpp.
neuron::container::data_handle<double> nrn_rangepointer | ( | Section * | sec, |
Symbol * | s, | ||
double | d | ||
) |
Definition at line 1274 of file cabcode.cpp.
Definition at line 252 of file cabcode.cpp.
Definition at line 267 of file cabcode.cpp.
Section* nrn_sec_pop | ( | ) |
Definition at line 753 of file cabcode.cpp.
Definition at line 2218 of file cabcode.cpp.
double nrn_section_orientation | ( | Section * | sec | ) |
Definition at line 1556 of file cabcode.cpp.
Definition at line 1577 of file cabcode.cpp.
Definition at line 1860 of file cabcode.cpp.
neuron::container::generic_data_handle nrnpy_dprop | ( | Symbol * | s, |
int | indx, | ||
Section * | sec, | ||
short | inode, | ||
int * | err | ||
) |
returns location of property symbol, return nullptr instead of hoc_execerror
Definition at line 1933 of file cabcode.cpp.
neuron::container::generic_data_handle nrnpy_rangepointer | ( | Section * | sec, |
Symbol * | s, | ||
double | d, | ||
int * | err, | ||
int | idx | ||
) |
return nullptr if failure instead of hoc_execerror and return pointer to the 0 element if an array
Definition at line 1306 of file cabcode.cpp.
void ob_sec_access_push | ( | hoc_Item * | qsec | ) |
Definition at line 827 of file cabcode.cpp.
void oc_restore_cabcode | ( | int * | a1, |
int * | a2 | ||
) |
Definition at line 122 of file cabcode.cpp.
void oc_save_cabcode | ( | int * | a1, |
int * | a2 | ||
) |
Definition at line 117 of file cabcode.cpp.
Definition at line 1773 of file cabcode.cpp.
const char* secname | ( | Section * | sec | ) |
name of section (for use in error messages)
Definition at line 1674 of file cabcode.cpp.
double section_length | ( | Section * | sec | ) |
Definition at line 401 of file cabcode.cpp.
Creates a new section and registers with the global section list.
Definition at line 323 of file cabcode.cpp.
int segment_limits | ( | double * | pdx | ) |
Definition at line 1784 of file cabcode.cpp.
void setup_topology | ( | ) |
Definition at line 1635 of file cabcode.cpp.