section.h File Reference

#include "nrnredef.h"
#include "options.h"
#include "hoclist.h"
#include "hocdec.h"
#include <multicore.h>
Include dependency graph for section.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Section
struct  Node
struct  Prop
struct  Point_process

Defines

#define xpop   hoc_xpop
#define pc   hoc_pc
#define spop   hoc_spop
#define execerror   hoc_execerror
#define NODED(n)   (*((n)->_d))
#define NODERHS(n)   (*((n)->_rhs))
#define NODEA(n)   ((n)->_a)
#define NODEB(n)   ((n)->_b)
#define NODEV(n)   ((n)->_v)
#define NODEAREA(n)   ((n)->_area)
#define PROP_PY_INDEX   10
#define ForAllSections(sec)   ITERATE(qsec, section_list) { Section* sec = hocSEC(qsec);
#define tstopbit   (1 << 15)
#define tstopset   stoprun |= tstopbit
#define tstopunset   stoprun &= (~tstopbit)

Typedefs

typedef struct Section Section
typedef struct Node Node
typedef struct Prop Prop
typedef struct Point_process Point_process

Functions

double * nrn_prop_data_alloc (int type, int count, Prop *p)
Datumnrn_prop_datum_alloc (int type, int count, Prop *p)
void nrn_prop_data_free (int type, double *pd)
void nrn_prop_datum_free (int type, Datum *ppd)
Sectionchk_access ()
Sectionsec_alloc ()
void node_alloc ()
double section_length ()
double nrn_diameter ()
double nrn_ghk ()
Nodenrn_parent_node (Node *)

Variables

int use_sparse13
int use_cachevec
int nrn_global_ncell
hoc_Listsection_list
int stoprun

Define Documentation

#define execerror   hoc_execerror
ForAllSections ( sec   )     ITERATE(qsec, section_list) { Section* sec = hocSEC(qsec);
#define NODEA ( n   )     ((n)->_a)
#define NODEAREA ( n   )     ((n)->_area)
#define NODEB ( n   )     ((n)->_b)
#define NODED ( n   )     (*((n)->_d))
#define NODERHS ( n   )     (*((n)->_rhs))
#define NODEV ( n   )     ((n)->_v)
#define pc   hoc_pc
#define PROP_PY_INDEX   10

Referenced by nrnpy_cas(), and secname().

#define spop   hoc_spop
#define tstopbit   (1 << 15)
#define tstopset   stoprun |= tstopbit
#define tstopunset   stoprun &= (~tstopbit)
#define xpop   hoc_xpop

Typedef Documentation

typedef struct Node Node
typedef struct Point_process Point_process
typedef struct Prop Prop
typedef struct Section Section

Function Documentation

Section* chk_access (  ) 
void node_alloc (  ) 
double nrn_diameter (  ) 
double nrn_ghk (  ) 
Node* nrn_parent_node ( Node  ) 
double* nrn_prop_data_alloc ( int  type,
int  count,
Prop p 
)

References Prop::_alloc_seq, APSIZE, assert, hoc_Ecalloc(), hoc_malchk(), and pd.

Referenced by KSChan::alloc(), and morph_alloc().

Here is the call graph for this function:

void nrn_prop_data_free ( int  type,
double *  pd 
)
Datum* nrn_prop_datum_alloc ( int  type,
int  count,
Prop p 
)

References Prop::_alloc_seq, Datum::_pvoid, APSIZE, assert, hoc_Ecalloc(), and hoc_malchk().

Referenced by KSChan::alloc(), and cab_alloc().

Here is the call graph for this function:

void nrn_prop_datum_free ( int  type,
Datum ppd 
)
Section* sec_alloc (  ) 
double section_length (  ) 

Variable Documentation

Referenced by SaveState::check(), if(), and nrn_modeltype().

Generated on Mon Jun 13 08:10:29 2011 for NEURON by  doxygen 1.6.3