/usr/share/nrn/demo/sync/cell.hoc is in neuron 7.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | //Network cell templates
// C_IntervalFire
begintemplate Cell
public pp, connect2target, x, y, z, position, is_art
objref pp
proc init() {
pp = new IntervalFire(.5)
pp.tau = 10
pp.invl = 20
}
func is_art() { return 1 }
proc connect2target() { $o2 = new NetCon(pp, $o1) }
proc position(){x=$1 y=$2 z=$3}
endtemplate Cell
|