NetStim() and each worker creates its own set of nsyn synapses syn[nsyn]. I pass
the start times to the master with a pc.post() as follows:
Code: Select all
func superrun(){local id
id = hoc_ac_
[ ...]
stvec.resize(0)
sl=new SectionList()
for zz=0, nsyn-1 {
stvec.append(s[zz].start)
x=syn[zz].get_loc()
sl.append()
}
[...]
pc.post(stvec)
return id
}
Code: Select all
while ((id = pc.working) != 0) {
stvec = pc.upkvec
[...]
}