nrnpy_nrn.cpp File Reference

#include <nrnpython.h>
#include <structmember.h>
#include <InterViews/resource.h>
#include <nrnoc2iv.h>
#include <membfunc.h>
#include <parse.h>
#include "nrnpy_nrn_2.h"
Include dependency graph for nrnpy_nrn.cpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  NPySecObj
struct  NPySegObj
struct  NPyMechObj
struct  NPyRVItr
struct  NPyRangeVar

Functions

void sec_free (hoc_Item *)
double * nrnpy_rangepointer (Section *, Symbol *, double, int *)
Sectionnrnpy_newsection (NPySecObj *)
void simpleconnectsection ()
void nrn_change_nseg (Section *, int)
double section_length (Section *)
double nrn_ra (Section *)
int can_change_morph (Section *)
void nrn_diam_change (Section *)
void nrn_length_change (Section *, double)
void mech_insert1 (Section *, int)
PyObject * nrn_hocobj_ptr (double *)
PyObject * nrnpy_forall (PyObject *self, PyObject *args)
Object * nrnpy_po2ho (PyObject *)
Object * nrnpy_pyobject_in_obj (PyObject *)
int nrnpy_ho_eq_po (Object *, PyObject *)
PyObject * nrnpy_hoc2pyobject (Object *)
PyObject * nrnpy_ho2po (Object *)
PyObject * NPySecObj_new (PyTypeObject *type, PyObject *args, PyObject *kwds)
PyObject * nrnpy_newsecobj (PyObject *self, PyObject *args, PyObject *kwds)
PyObject * nrnpy_pushsec (PyObject *sec)
double ** nrnpy_setpointer_helper (PyObject *name, PyObject *mech)
PyObject * nrnpy_cas (PyObject *self, PyObject *args)
myPyMODINIT_FUNC nrnpy_nrn (void)

Variables

Symlisthoc_built_in_symlist
short * nrn_is_artificial_
cTemplate ** nrn_pnt_template_
int diam_changed
Symbolnrnpy_pyobj_sym_
void(* nrnpy_reg_mech_p_ )(int)
void(* nrnpy_o2loc_p_ )(Object *, Section **, double *)
char *(* nrnpy_pysec_name_p_ )(Section *)
Object *(* nrnpy_pysec_cell_p_ )(Section *)
int(* nrnpy_pysec_cell_equals_p_ )(Section *, Object *)

Function Documentation

int can_change_morph ( Section  ) 
void mech_insert1 ( Section ,
int   
)
PyObject* NPySecObj_new ( PyTypeObject *  type,
PyObject *  args,
PyObject *  kwds 
)

Referenced by nrnpy_newsecobj().

void nrn_change_nseg ( Section ,
int   
)
void nrn_diam_change ( Section  ) 
PyObject* nrn_hocobj_ptr ( double *   ) 
void nrn_length_change ( Section ,
double   
)
double nrn_ra ( Section  ) 

References Prop::dparam, Section::prop, and Datum::val.

Referenced by nrn_area_ri(), and psection().

PyObject* nrnpy_cas ( PyObject *  self,
PyObject *  args 
)
PyObject* nrnpy_forall ( PyObject *  self,
PyObject *  args 
)
PyObject* nrnpy_ho2po ( Object *   ) 
int nrnpy_ho_eq_po ( Object *  ho,
PyObject *  po 
)

References nrnpy_pyobj_sym_.

PyObject* nrnpy_hoc2pyobject ( Object *   ) 
PyObject* nrnpy_newsecobj ( PyObject *  self,
PyObject *  args,
PyObject *  kwds 
)

References NPySecObj_new().

Here is the call graph for this function:

Section* nrnpy_newsection ( NPySecObj  ) 
myPyMODINIT_FUNC nrnpy_nrn ( void   ) 
Object* nrnpy_po2ho ( PyObject *   ) 
PyObject* nrnpy_pushsec ( PyObject *  sec  ) 

References nrn_pushsec().

Here is the call graph for this function:

Object* nrnpy_pyobject_in_obj ( PyObject *   ) 

References hoc_new_object(), hoc_obj_ref(), nrnpy_pyobj_sym_, on, Py2Nrn::po_, and Py2Nrn::type_.

Here is the call graph for this function:

double* nrnpy_rangepointer ( Section ,
Symbol ,
double  ,
int  
)
double** nrnpy_setpointer_helper ( PyObject *  name,
PyObject *  mech 
)
void sec_free ( hoc_Item  ) 
double section_length ( Section  ) 

References e, and x.

Referenced by node_dist(), nrn_area_ri(), and psection().

void simpleconnectsection (  ) 

Referenced by debugzz().


Variable Documentation

cTemplate** nrn_pnt_template_
void(* nrnpy_o2loc_p_)(Object *, Section **, double *)

Referenced by loc_point_process(), and nrnpy_nrn().

Referenced by nrn_sec2cell_equals(), and nrnpy_nrn().

Referenced by nrn_sec2cell(), and nrnpy_nrn().

Referenced by nrnpy_nrn(), and secname().

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