6 #define NetCon nrniv_Dinfo
13 #include <unordered_map>
18 #define STATISTICS(arg) ++arg
20 #define STATISTICS(arg)
39 #define DiscreteEventType 0
40 #define TstopEventType 1
42 #define SelfEventType 3
44 #define HocEventType 5
45 #define PlayRecordEventType 6
47 #define NetParEventType 7
49 #if DISCRETE_EVENT_OBSERVER
106 void replace_src(
PreSyn*);
133 static void invalid();
134 static NetCon* weight2netcon(
double*);
135 static NetCon* index2netcon(
long);
172 static void savestate_free();
177 static std::unique_ptr<SelfEventPPTable>
sepp_;
187 virtual void check(
NrnThread*,
double sendtime,
double teps = 0.0);
191 void condition(
Cvode*);
192 void abandon_statistics(
Cvode*);
222 virtual void asf_err();
249 virtual double value();
262 virtual void asf_err();
277 return *thvar_ - threshold_;
282 void update_ptr(
double*);
283 void record_stmt(
const char*);
284 void record_stmt(
Object*);
286 void record(
double t);
309 unsigned char localgid_;
341 static void invalid();
342 static PreSyn* hindx2presyn(
long);
358 virtual void allthread_handle();
359 static void reclaim();
static unsigned long abandon_
static unsigned long deliver_qthresh_
static unsigned long send_qthresh_
static unsigned long init_above_
static unsigned long abandon_above_
static unsigned long abandon_init_above_
static unsigned long eq_abandon_
static unsigned long abandon_below_
static unsigned long abandon_init_below_
virtual DiscreteEvent * savestate_save()
virtual void pr(const char *, double t, NetCvode *)
virtual void disconnect(Observable *)
virtual void savestate_write(FILE *)
virtual void deliver(double t, NetCvode *, NrnThread *)
static unsigned long discretevent_send_
static unsigned long discretevent_deliver_
static DiscreteEvent * savestate_read(FILE *)
virtual void pgvts_deliver(double t, NetCvode *)
virtual void send(double deliverytime, NetCvode *, NrnThread *)
virtual void savestate_restore(double deliverytime, NetCvode *)
virtual int pgvts_op(int &i)
virtual void frecord_init(TQItem *)
virtual NrnThread * thread()
static unsigned long hocevent_deliver_
virtual int pgvts_op(int &i)
static HocEventPool * hepool_
static HocEvent * next_del_
static unsigned long hocevent_send_
virtual int pgvts_op(int &i)
static unsigned long netcon_send_active_
static unsigned long netcon_deliver_
static unsigned long netcon_send_inactive_
static NetConSaveWeightTable * wtable_
static NetConSaveIndexTable * idxtable_
virtual int pgvts_op(int &i)
static unsigned long presyn_send_direct_
virtual int pgvts_op(int &i)
static unsigned long presyn_deliver_ncsend_
static unsigned long presyn_deliver_direct_
static unsigned long presyn_deliver_netcon_
static unsigned long presyn_send_mindelay_
static PreSynSaveIndexTable * idxtable_
static unsigned long selfevent_deliver_
static unsigned long selfevent_send_
static unsigned long selfevent_move_
virtual int pgvts_op(int &i)
static std::unique_ptr< SelfEventPPTable > sepp_
static unsigned long watch_send_
static unsigned long watch_deliver_
virtual int pgvts_op(int &i)
static void update(NrnThread *)
std::unordered_map< void *, NetCon * > NetConSaveWeightTable
#define DiscreteEventType
std::unordered_map< long, Point_process * > SelfEventPPTable
PreSyn * nrn_gid2outputpresyn(int gid)
std::vector< NetCon * > NetConPList
std::unordered_map< long, PreSyn * > PreSynSaveIndexTable
std::unordered_map< long, NetCon * > NetConSaveIndexTable
static double check(double t, Daspk *ida)
Represent main neuron object computed by single thread.