proc init() { local dtsav, temp
	finitialize(v_init)
	t = -1e10
	dtsav = dt
	dt = 1e8
	// if cvode is on, turn it off to do a large fixed step
	tmp = cvode.active()
	if (temp!=0) { cvode.active(0) }
	while (t<-1e9) {
		fadvance()
	}
	dt = dtsav
	t = 0
	if (cvode.active()) {
		cvode.re_init()
	}	else {
		fcurrent()
	}
	frecord_init()
}