![]() |
NEURON
|
#include "hoclist.h"
#include "cabcode.h"
#include "membfunc.h"
#include "neuron/container/mechanism_data.hpp"
#include "neuron/container/node_data.hpp"
#include "neuron/model_data.hpp"
#include "nrnredef.h"
#include "options.h"
#include "section_fwd.hpp"
#include "hocdec.h"
#include <optional>
#include <multicore.h>
#include "nrn_ansi.h"
Go to the source code of this file.
Classes | |
struct | Pt3d |
struct | Section |
struct | Info3Coef |
struct | Info3Val |
struct | Node |
struct | Prop |
Macros | |
#define | xpop hoc_xpop |
#define | pc hoc_pc |
#define | spop hoc_spop |
#define | execerror hoc_execerror |
#define | NODEAREA(n) ((n)->area()) |
#define | NODERINV(n) ((n)->_rinv) |
#define | PROP_PY_INDEX 10 |
#define | tstopbit (1 << 15) |
#define | tstopset stoprun |= tstopbit |
#define | tstopunset stoprun &= (~tstopbit) |
Typedefs | |
typedef float | NodeCoef |
typedef double | NodeVal |
typedef struct Info3Coef | Info3Coef |
typedef struct Info3Val | Info3Val |
Functions | |
void | nrn_prop_datum_free (int type, Datum *ppd) |
void | nrn_delete_mechanism_prop_datum (int type) |
int | nrn_mechanism_prop_datum_count (int type) |
Section * | sec_alloc () |
Allocate a new Section object. More... | |
void | node_alloc (Section *, short) |
Node * | nrn_parent_node (Node *) |
Section * | nrn_section_alloc () |
void | nrn_section_free (Section *) |
int | nrn_is_valid_section_ptr (void *) |
Variables | |
int | nrn_global_ncell |
hoc_List * | section_list |
#define execerror hoc_execerror |
void nrn_delete_mechanism_prop_datum | ( | int | type | ) |
Definition at line 70 of file cxprop.cpp.
int nrn_is_valid_section_ptr | ( | void * | v | ) |
Definition at line 101 of file cxprop.cpp.
int nrn_mechanism_prop_datum_count | ( | int | type | ) |
Definition at line 47 of file cxprop.cpp.
Definition at line 809 of file treeset.cpp.
void nrn_prop_datum_free | ( | int | type, |
Datum * | ppd | ||
) |
Definition at line 54 of file cxprop.cpp.
Section* nrn_section_alloc | ( | ) |
Definition at line 85 of file cxprop.cpp.
void nrn_section_free | ( | Section * | s | ) |
Definition at line 95 of file cxprop.cpp.
Section* sec_alloc | ( | ) |
Allocate a new Section object.
Changed from emalloc to allocation from a SectionPool in order to allow safe checking of whether a void* is a possible Section* without the possibility of invalid memory read errors. Note that freeing sections must be done with nrn_section_free(Section*).