6 #define NetCon nrniv_Dinfo 14 #include <unordered_map> 19 #define STATISTICS(arg) ++arg 21 #define STATISTICS(arg) 33 class NetConSaveWeightTable;
34 class NetConSaveIndexTable;
35 class PreSynSaveIndexTable;
43 #define DiscreteEventType 0 44 #define TstopEventType 1 46 #define SelfEventType 3 48 #define HocEventType 5 49 #define PlayRecordEventType 6 51 #define NetParEventType 7 53 #if DISCRETE_EVENT_OBSERVER 63 virtual void pr(
const char*,
double t,
NetCvode*);
101 void replace_src(
PreSyn*);
124 static void invalid();
125 static NetCon* weight2netcon(
double*);
126 static NetCon* index2netcon(
long);
157 static void savestate_free();
161 static std::unique_ptr<SelfEventPPTable>
sepp_;
171 virtual void check(
NrnThread*,
double sendtime,
double teps = 0.0);
172 virtual double value() {
return -1.; }
173 void condition(
Cvode*);
174 void abandon_statistics(
Cvode*);
175 virtual void asf_err() = 0;
197 virtual double value() {
return (*
c_)(pnt_); }
202 virtual void asf_err();
226 virtual double value();
239 virtual void asf_err();
248 virtual double value() {
return *thvar_ - threshold_; }
252 void update_ptr(
double*);
253 void record_stmt(
const char*);
254 void record_stmt(
Object*);
256 void record(
double t);
279 unsigned char localgid_;
308 static void invalid();
309 static PreSyn* hindx2presyn(
long);
324 virtual void allthread_handle();
325 static void reclaim();
351 virtual void pr(
const char*,
double t,
NetCvode*);
static unsigned long abandon_init_below_
static unsigned long send_qthresh_
std::unordered_map< long, Point_process * > SelfEventPPTable
static unsigned long presyn_send_direct_
static unsigned long hocevent_deliver_
static unsigned long abandon_below_
virtual int pgvts_op(int &i)
virtual int pgvts_op(int &i)
virtual void disconnect(Observable *)
static unsigned long abandon_init_above_
Represent main neuron object computed by single thread.
virtual int pgvts_op(int &i)
static DiscreteEvent * savestate_read(FILE *)
static NetConSaveIndexTable * idxtable_
static void update(NrnThread *)
PreSyn * nrn_gid2outputpresyn(int gid)
static unsigned long netcon_deliver_
std::vector< NetCon * > NetConPList
virtual int pgvts_op(int &i)
static unsigned long selfevent_send_
static NetConSaveWeightTable * wtable_
static unsigned long selfevent_move_
virtual int pgvts_op(int &i)
virtual void frecord_init(TQItem *)
static double check(double t, Daspk *ida)
virtual NrnThread * thread()
static unsigned long deliver_qthresh_
virtual int pgvts_op(int &i)
static unsigned long discretevent_deliver_
static HocEventPool * hepool_
static unsigned long presyn_deliver_direct_
static unsigned long presyn_send_mindelay_
static unsigned long netcon_send_inactive_
#define DiscreteEventType
static unsigned long watch_deliver_
static unsigned long presyn_deliver_ncsend_
static unsigned long eq_abandon_
virtual int pgvts_op(int &i)
virtual void deliver(double t, NetCvode *, NrnThread *)
static unsigned long init_above_
virtual void send(double deliverytime, NetCvode *, NrnThread *)
static HocEvent * next_del_
virtual void savestate_write(FILE *)
static unsigned long discretevent_send_
static unsigned long netcon_send_active_
virtual void pgvts_deliver(double t, NetCvode *)
static unsigned long selfevent_deliver_
static unsigned long watch_send_
static unsigned long hocevent_send_
virtual void savestate_restore(double deliverytime, NetCvode *)
static std::unique_ptr< SelfEventPPTable > sepp_
static unsigned long presyn_deliver_netcon_
static unsigned long abandon_
static PreSynSaveIndexTable * idxtable_
static unsigned long abandon_above_
virtual int pgvts_op(int &i)
virtual void pr(const char *, double t, NetCvode *)
virtual DiscreteEvent * savestate_save()