begintemplate Rod public soma create soma objref vc proc init() { create soma soma { nseg=1 L=10/PI diam=10 cm= 30 //pF insert Kv insert h insert Kx insert Leak insert Ca insert Cad insert Clca insert Kca vc = new VClamp(0.5) vc.dur[0]=100 vc.amp[0]=-42.9 } } // end init() endtemplate Rod