treeset.c File Reference

#include <../../nrnconf.h>
#include <stdio.h>
#include <errno.h>
#include <math.h>
#include "section.h"
#include "membfunc.h"
#include "neuron.h"
#include "parse.h"
#include "nrnmpiuse.h"
#include "multisplit.h"
#include "spmatrix.h"
#include "multicore.c"
#include <nrnpthread.h>
#include <nrnmpi.h>
Include dependency graph for treeset.c:
This graph shows which files directly or indirectly include this file:

Defines

#define PI   3.14159265358979323846
#define NODE_DATA   0

Functions

double chkarg ()
double nrn_ra ()
double nrnmpi_wtime ()
char * secname ()
double nrn_arc_position ()
Symbolhoc_table_lookup ()
void nrn_cachevec ()
int linmod_extra_eqn_count ()
void linmod_alloc ()
void linmod_rhs ()
void linmod_lhs ()
void nrn_rhs (NrnThread *_nt)
void nrn_lhs (NrnThread *_nt)
voidsetup_tree_matrix (NrnThread *_nt)
Propneed_memb (Symbol *sym)
Propprop_alloc (Prop **pp, int type, Node *nd)
Propprop_alloc_disallow (Prop **pp, short type, Node *nd)
void prop_free (Prop **pp)
 single_prop_free (Prop *p)
void nrn_area_ri (Section *sec)
Nodenrn_parent_node (Node *nd)
 connection_coef ()
 ForAllSections (sec)
 ClassicalNODEA (nd)
 for (j=1;j< sec->nnode;j++)
void nrn_shape_update ()
int recalc_diam ()
int area ()
int ri ()
 node_data ()
 nrn_complain (double *pp)
 fprintf (stderr,"Don't know the location of params at %lx\n",(long) pp)
 nrn_matrix_node_free ()
int nrn_modeltype ()
int nrn_method_consistent ()
 nrn_matrix_node_alloc ()
void nrn_cachevec (int b)

Variables

int nrn_shape_changed_
double * nrn_mech_wtime_
int diam_changed
int tree_changed
Symlisthoc_built_in_symlist
intnrn_prop_dparam_size_
intnrn_dparam_ptr_start_
intnrn_dparam_ptr_end_
void(* nrn_multisplit_setup_ )()
int use_cachevec
int nrn_matrix_cnt_ = 0
int use_sparse13 = 0
int nrn_use_daspk_ = 0
int section_count
Section ** secorder
short * nrn_is_artificial_
Template ** nrn_pnt_template_
Nodenrn_alloc_node_
int recalc_diam_count_
int nrn_area_ri_nocount_ = 0
int nrn_area_ri_count_
 nd = sec->pnode[0]
 area = NODEAREA(sec->parentnode)

Define Documentation

#define NODE_DATA   0
#define PI   3.14159265358979323846

Function Documentation

int area (  ) 

References chk_access(), getarg(), node_index(), node_ptr(), NODEAREA, nrn_area_ri(), Section::pnode, Section::recalc_area_, ret, sec, and x.

Here is the call graph for this function:

double chkarg (  ) 
ClassicalNODEA ( nd   ) 
connection_coef (  ) 

References area, assert, ForAllSections, hoc_warning(), nd, nrn_area_ri(), nrn_area_ri_nocount_, recalc_diam_count_, sec, section_count, setup_topology(), and tree_changed.

Referenced by recalc_diam().

Here is the call graph for this function:

for ( = 1; j < sec->nnode; j++  ) 

References area, ClassicalNODEA, nd, NODEAREA, and sec.

ForAllSections ( sec   ) 

References ClassicalNODEB, nd, NODEAREA, and sec.

fprintf ( stderr  ,
"Don't know the location of params at %lx\n ,
(long)  pp 
)
Symbol* hoc_table_lookup (  ) 
void linmod_alloc (  ) 
int linmod_extra_eqn_count (  ) 
void linmod_lhs (  ) 

References i, LinearModelAddition::lhs(), and m.

Referenced by nrn_lhs().

Here is the call graph for this function:

void linmod_rhs (  ) 
Prop* need_memb ( Symbol sym  ) 

References fprintf(), hoc_execerror(), m, Prop::next, prop_alloc(), and type.

Referenced by KSChan::alloc().

Here is the call graph for this function:

node_data (  ) 
double nrn_arc_position (  ) 
void nrn_area_ri ( Section sec  ) 
void nrn_cachevec ( int  b  ) 
void nrn_cachevec (  ) 
nrn_complain ( double*  pp  ) 

References ForAllSections, fprintf(), Prop::next, Section::nnode, nrn_arc_position(), Prop::param, Section::pnode, Node::prop, and secname().

Referenced by icur().

Here is the call graph for this function:

void nrn_lhs ( NrnThread _nt  ) 
nrn_matrix_node_alloc (  ) 
nrn_matrix_node_free (  ) 
int nrn_method_consistent (  ) 

References cvode_active_, nrn_cachevec(), nrn_modeltype(), nrn_use_daspk(), nrn_use_daspk_, type, and use_sparse13.

Referenced by nrn_matrix_node_alloc().

Here is the call graph for this function:

int nrn_modeltype (  ) 
Node* nrn_parent_node ( Node nd  ) 
double nrn_ra (  ) 
void nrn_rhs ( NrnThread _nt  ) 
void nrn_shape_update (  ) 
double nrnmpi_wtime (  ) 

References nrn_timeus().

Here is the call graph for this function:

Prop* prop_alloc ( Prop **  pp,
int  type,
Node nd 
)
Prop* prop_alloc_disallow ( Prop**  pp,
short  type,
Node nd 
)

References prop_alloc().

Referenced by nrn_loc_point_process().

Here is the call graph for this function:

void prop_free ( Prop **  pp  ) 

References Prop::next, and single_prop_free().

Here is the call graph for this function:

int recalc_diam (  ) 
int ri (  ) 

References area, chk_access(), getarg(), node_ptr(), and ret.

Here is the call graph for this function:

char* secname (  ) 
void* setup_tree_matrix ( NrnThread _nt  ) 

References nrn_lhs(), and nrn_rhs().

Referenced by fcurrent(), and nrn_finitialize().

Here is the call graph for this function:

single_prop_free ( Prop p  ) 

Variable Documentation

area = NODEAREA(sec->parentnode)
nd = sec->pnode[0]

Referenced by node_data(), and nrn_area_ri().

Referenced by connection_coef(), and nrn_area_ri().

Referenced by hoc_last_init(), and register_mech().

Referenced by hoc_last_init(), and register_mech().

Referenced by nrn_matrix_node_alloc().

double* nrn_mech_wtime_

Referenced by nonvint(), and nrn_rhs().

Template** nrn_pnt_template_

Referenced by connection_coef(), and node_data().

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