1 #include <../../nrnconf.h>
145 for (
i = 0;
i <
c->ntrans_; ++
i) {
247 if (snd->nsingle_ == 1) {
264 if (snd->nsingle_ == 1) {
278 for (
i = 0;
i <
n; ++
i) {
292 while (snd->
t1_ <= nt->
_t) {
321 snd->
t1_ = 1e9 + snd->
t0_;
334 while (snd->
t1_ <= nt->
_t) {
363 snd->
t1_ = 1e9 + snd->
t0_;
378 snd->statepop_offset_ = sindex;
385 std::size_t instance,
386 std::size_t offset) {
395 x += ml->
data(instance, offset +
i);
428 return snd->nsingle_;
int nsingle(Point_process *)
double unifrand(double range)
void alloc(Prop *, int sindex)
void nextNtrans(KSSingleNodeData *)
KSSingleTrans * transitions_
void one(double, KSSingleNodeData *, NrnThread *)
void next1trans(KSSingleNodeData *)
void doNtrans(KSSingleNodeData *)
static unsigned long singleevent_deliver_
void state(Node *, Datum *, NrnThread *)
void do1trans(KSSingleNodeData *)
static unsigned int idum_
bool vsame(double x, double y)
void init(double v, KSSingleNodeData *snd, NrnThread *, Memb_list *, std::size_t instance, std::size_t offset)
static unsigned long singleevent_move_
void multi(double, KSSingleNodeData *, NrnThread *)
void cv_update(Node *, Datum *, NrnThread *)
virtual ~KSSingleNodeData()
virtual void pr(const char *, double t, NetCvode *)
double & statepop(int i)
Replacement for old double* statepop_ member.
virtual void deliver(double t, NetCvode *, NrnThread *)
double rate(Point_process *)
void retreat(double, Cvode *)
void move_event(TQItem *, double, NrnThread *)
TQItem * event(double tdeliver, DiscreteEvent *, NrnThread *)
char * hoc_object_name(Object *ob)
NetCvode * net_cvode_instance
int const size_t const size_t n
A view into a set of mechanism instances.
std::vector< double * > data()
Get a vector of double* representing the model data.
Represent main neuron object computed by single thread.
A point process is computed just like regular mechanisms.
Non-template stable handle to a generic value.
T get() const
Explicit conversion to any T.
int Printf(const char *fmt, Args... args)