TITLE Ca leak

UNITS {
	(mV) = (millivolt)
	(mA) = (milliamp)
}

INDEPENDENT { v FROM -100 TO 50 WITH 50	(mV) }

NEURON {
	SUFFIX caleak
	USEION ca WRITE ica
	RANGE gbar, i
        GLOBAL e
}

PARAMETER {
	gbar = 1.616e-6	(mho/cm2)
	e = 80	(mV)
}

ASSIGNED { i    (mA/cm2)
           ica	(mA/cm2)}

BREAKPOINT {
	i = gbar*(v - e)
        ica = i
}