NEURON
hocmech.cpp File Reference
#include <../../nrnconf.h>
#include <InterViews/resource.h>
#include <ctype.h>
#include "membfunc.h"
#include "nrnoc2iv.h"
#include "nrniv_mf.h"
#include "parse.hpp"

Go to the source code of this file.

Classes

class  HocMech
 

Functions

int point_reg_helper (Symbol *)
 
Objecthoc_newobj1 (Symbol *, int)
 
void hoc_unlink_symbol (Symbol *, Symlist *)
 
void hoc_link_symbol (Symbol *, Symlist *)
 
void nrn_loc_point_process (int, Point_process *, Section *, Node *)
 
void print_symlist (const char *, Symlist *)
 
void make_mechanism ()
 
void make_pointprocess ()
 
void hoc_construct_point (Object *, int)
 
Objecthoc_new_opoint (int)
 
static const char ** make_m (bool, int &, Symlist *, char *, char *)
 
static void check (const char *s)
 
static void check_list (const char *s, Symlist *sl)
 
static void seg_or_x_arg_inside_stack (int i, Section **psec, double *px)
 
Point_processob2pntproc_0 (Object *ob)
 
Point_processob2pntproc (Object *ob)
 
int special_pnt_call (Object *ob, Symbol *sym, int narg)
 
static void alloc_mech (Prop *p)
 
static void alloc_pnt (Prop *p)
 
static void call (Symbol *s, Node *nd, Prop *p)
 
static void initial (neuron::model_sorted_token const &, NrnThread *nt, Memb_list *ml, int type)
 
static void after_step (neuron::model_sorted_token const &, NrnThread *nt, Memb_list *ml, int type)
 
static HocMechcommon_register (const char **m, Symbol *classsym, Symlist *slist, void(hm_alloc)(Prop *), int &type)
 

Variables

Symlisthoc_symlist
 
cTemplate ** nrn_pnt_template_
 
char * pnt_map
 
Symbol ** pointsym
 
Propnrn_point_prop_
 
static Objectlast_created_pp_ob_
 
static bool skip_
 

Function Documentation

◆ after_step()

static void after_step ( neuron::model_sorted_token const &  ,
NrnThread nt,
Memb_list ml,
int  type 
)
static

Definition at line 189 of file hocmech.cpp.

◆ alloc_mech()

static void alloc_mech ( Prop p)
static

Definition at line 134 of file hocmech.cpp.

◆ alloc_pnt()

static void alloc_pnt ( Prop p)
static

Definition at line 140 of file hocmech.cpp.

◆ call()

static void call ( Symbol s,
Node nd,
Prop p 
)
static

Definition at line 170 of file hocmech.cpp.

◆ check()

static void check ( const char *  s)
static

Definition at line 41 of file hocmech.cpp.

◆ check_list()

static void check_list ( const char *  s,
Symlist sl 
)
static

Definition at line 47 of file hocmech.cpp.

◆ common_register()

static HocMech* common_register ( const char **  m,
Symbol classsym,
Symlist slist,
void(hm_alloc)(Prop *)  ,
int &  type 
)
static

Definition at line 199 of file hocmech.cpp.

◆ hoc_link_symbol()

void hoc_link_symbol ( Symbol sp,
Symlist list 
)

Definition at line 155 of file symbol.cpp.

◆ hoc_new_opoint()

Object * hoc_new_opoint ( int  type)

Definition at line 165 of file hocmech.cpp.

◆ hoc_newobj1()

Object* hoc_newobj1 ( Symbol sym,
int  narg 
)

Definition at line 497 of file hoc_oop.cpp.

◆ hoc_unlink_symbol()

void hoc_unlink_symbol ( Symbol s,
Symlist list 
)

Definition at line 131 of file symbol.cpp.

◆ initial()

static void initial ( neuron::model_sorted_token const &  ,
NrnThread nt,
Memb_list ml,
int  type 
)
static

Definition at line 181 of file hocmech.cpp.

◆ make_m()

static const char ** make_m ( bool  suffix,
int &  cnt,
Symlist slist,
char *  mname,
char *  parnames 
)
static

Definition at line 365 of file hocmech.cpp.

◆ make_mechanism()

void make_mechanism ( )

Definition at line 230 of file hocmech.cpp.

◆ make_pointprocess()

void make_pointprocess ( )

Definition at line 277 of file hocmech.cpp.

◆ nrn_loc_point_process()

void nrn_loc_point_process ( int  pointtype,
Point_process pnt,
Section sec,
Node node 
)

Definition at line 76 of file point.cpp.

◆ ob2pntproc()

Point_process* ob2pntproc ( Object ob)

Definition at line 99 of file hocmech.cpp.

◆ ob2pntproc_0()

Point_process* ob2pntproc_0 ( Object ob)

Definition at line 89 of file hocmech.cpp.

◆ point_reg_helper()

int point_reg_helper ( Symbol s2)

Definition at line 1013 of file init.cpp.

◆ print_symlist()

void print_symlist ( const char *  s,
Symlist tab 
)

Definition at line 40 of file symbol.cpp.

◆ seg_or_x_arg_inside_stack()

static void seg_or_x_arg_inside_stack ( int  i,
Section **  psec,
double *  px 
)
static

Definition at line 53 of file hocmech.cpp.

◆ special_pnt_call()

int special_pnt_call ( Object ob,
Symbol sym,
int  narg 
)

Definition at line 107 of file hocmech.cpp.

Variable Documentation

◆ hoc_symlist

Symlist* hoc_symlist
extern

Definition at line 34 of file symbol.cpp.

◆ last_created_pp_ob_

Object* last_created_pp_ob_
static

Definition at line 27 of file hocmech.cpp.

◆ nrn_pnt_template_

cTemplate** nrn_pnt_template_
extern

Definition at line 153 of file init.cpp.

◆ nrn_point_prop_

Prop* nrn_point_prop_
extern

Definition at line 29 of file point.cpp.

◆ pnt_map

char* pnt_map
extern

Definition at line 150 of file init.cpp.

◆ pointsym

Symbol** pointsym
extern

Definition at line 148 of file init.cpp.

◆ skip_

bool skip_
static

Definition at line 28 of file hocmech.cpp.