init.c File Reference

#include <../../nrnconf.h>
#include <nrnmpiuse.h>
#include <stdio.h>
#include <stdlib.h>
#include "section.h"
#include "parse.h"
#include "membfunc.h"
#include "cabvars.h"
#include "neuron.h"
#include "membdef.h"
#include "nrnmpi.h"
Include dependency graph for init.c:
This graph shows which files directly or indirectly include this file:

Classes

struct  Member_func

Defines

#define CHECK(name)

Typedefs

typedef void(* Pfrv )()

Functions

char * nrn_version ()
Symbolhoc_table_lookup ()
void add_nrn_has_net_event (int type)
void add_nrn_fornetcons (int type, int indx)
void add_nrn_artcell (int type, int qi)
int nrn_is_artificial (int pnttype)
int nrn_is_cable ()
 hoc_nrn_load_dll ()
void nrn_threads_create (int)
 hoc_last_init ()
 initnrn ()
 register_mech (char **m, Pfri alloc, Pfri cur, Pfri jacob, Pfri stat, Pfri initialize, int nrnpointerindex, vectorized)
 nrn_writes_conc (int type, int unused)
void hoc_register_dparam_size (int type, int size)
 register_destructor (Pfri d)
int point_reg_helper (Symbol *s2)
 _modl_cleanup ()
 _modl_set_dt (double newdt)
 _modl_set_dt_thread (double newdt, NrnThread *nt)
double _modl_get_dt_thread (NrnThread *nt)
int nrn_pointing (double *pd)
 state_discontinuity (int i, double *pd, double d)
 hoc_register_limits (int type, HocParmLimits *limits)
 hoc_register_units (int type, HocParmUnits *units)
 hoc_reg_ba (int mt, Pfri f, int type)
 _cvode_abstol (Symbol **s, double *tol, int i)
 hoc_register_tolerance (int type, HocStateTolerance *tol, Symbol ***stol)
void _nrn_thread_reg (int i, int cons, void(*f)(Datum *))
void _nrn_thread_table_reg (int i, void(*f)(double *, Datum *, Datum *, void *, int))

Variables

Symlisthoc_symlist
Symlisthoc_built_in_symlist
void(* nrnpy_reg_mech_p_ )(int)
int secondorder = 0
int state_discon_allowed_
int nrn_nobanner_
double t
double dt
double clamp_resist
double celsius
double htablemin
double htablemax
hoc_Listsection_list
int nrn_global_ncell = 0
double hoc_default_dll_loaded_
int nrn_istty_
Memb_funcmemb_func
Memb_listmemb_list
short * memb_order_
Symbol ** pointsym
Point_process ** point_process
char * pnt_map
BAMech ** bamech_
Template ** nrn_pnt_template_
Pfrvpnt_receive
Pfrvpnt_receive_init
short * pnt_receive_size
int nrn_has_net_event_cnt_
intnrn_has_net_event_
intnrn_prop_dparam_size_
intnrn_dparam_ptr_start_
intnrn_dparam_ptr_end_
int nrn_fornetcon_cnt_
intnrn_fornetcon_type_
intnrn_fornetcon_index_
short * nrn_is_artificial_
short * nrn_artcell_qindex_
int n_memb_func
int int _ninits
int state_discon_flag_ = 0

Define Documentation

#define CHECK ( name   ) 
Value:
if (hoc_lookup(name) != (Symbol *)0){\
      IGNORE(fprintf(stderr, CHKmes, name));\
      nrn_exit(1);}

Typedef Documentation

typedef void(* Pfrv)()

Function Documentation

_cvode_abstol ( Symbol**  s,
double*  tol,
int  i 
)

References x.

_modl_cleanup (  ) 
double _modl_get_dt_thread ( NrnThread nt  ) 

References NrnThread::_dt.

_modl_set_dt ( double  newdt  ) 

References NrnThread::_dt, dt, and nrn_threads.

_modl_set_dt_thread ( double  newdt,
NrnThread nt 
)

References NrnThread::_dt.

void _nrn_thread_reg ( int  i,
int  cons,
void(*)(Datum *)  f 
)
void _nrn_thread_table_reg ( int  i,
void(*)(double *, Datum *, Datum *, void *, int f 
)

References Memb_func::thread_table_check_.

Referenced by _hh_reg_().

void add_nrn_artcell ( int  type,
int  qi 
)
void add_nrn_fornetcons ( int  type,
int  indx 
)
void add_nrn_has_net_event ( int  type  ) 
hoc_last_init (  ) 
hoc_nrn_load_dll (  ) 

References expand_env_var(), gargstr(), hoc_warning(), i, and ret.

Here is the call graph for this function:

hoc_reg_ba ( int  mt,
Pfri  f,
int  type 
)

References AFTER_INITIAL, AFTER_SOLVE, BEFORE_BREAKPOINT, BEFORE_INITIAL, BEFORE_STEP, emalloc, BAMech::f, BAMech::next, nrn_exit(), and BAMech::type.

Here is the call graph for this function:

void hoc_register_dparam_size ( int  type,
int  size 
)
hoc_register_limits ( int  type,
HocParmLimits limits 
)
hoc_register_tolerance ( int  type,
HocStateTolerance tol,
Symbol***  stol 
)
hoc_register_units ( int  type,
HocParmUnits units 
)
Symbol* hoc_table_lookup (  ) 
initnrn (  ) 
int nrn_is_artificial ( int  pnttype  ) 
int nrn_is_cable (  ) 
int nrn_pointing ( double *  pd  ) 
void nrn_threads_create ( int   ) 

Referenced by hoc_last_init().

char* nrn_version (  ) 
nrn_writes_conc ( int  type,
int  unused 
)

References i, memb_order_, and nrn_is_ion().

Referenced by ion_reg().

Here is the call graph for this function:

int point_reg_helper ( Symbol s2  ) 
register_destructor ( Pfri  d  ) 

References Memb_func::destructor.

Referenced by _pattern_reg_().

register_mech ( char **  m,
Pfri  alloc,
Pfri  cur,
Pfri  jacob,
Pfri  stat,
Pfri  initialize,
int  nrnpointerindex,
vectorized   
)
state_discontinuity ( int  i,
double*  pd,
double  d 
)

References state_discon_allowed_.


Variable Documentation

Referenced by nrn_finitialize().

double celsius

Referenced by initnrn().

double clamp_resist
double dt

Referenced by hoc_last_init().

double htablemax
double htablemin
short* memb_order_

Referenced by hoc_last_init(), and register_mech().

Referenced by hoc_last_init(), and register_mech().

Referenced by add_nrn_fornetcons().

Referenced by add_nrn_fornetcons().

Referenced by add_nrn_fornetcons().

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

Referenced by hoc_reg_singlechan(), and ivocmain().

Referenced by hoc_last_init(), and ivocmain().

Template** nrn_pnt_template_
char* pnt_map

Referenced by hoc_last_init(), and register_mech().

Referenced by hoc_last_init(), and register_mech().

Referenced by nrnallpointmenu().

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