NEURON {
	POINT_PROCESS gap
	NONSPECIFIC_CURRENT i
	RANGE r, i
	POINTER vgap
}

PARAMETER {
	v (millivolt)
	vgap (millivolt)
	r = 100000(megohm)
}

ASSIGNED {
	i (nanoamp)
}

BREAKPOINT {
	i = (v - vgap)/r
}