// This function specifies the number of segments in all sections of the cell
// edited by Yiota Poirazi, July 2001, poirazi@LNC.usc.edu
// edited by Fiona Muellner, Mar 2015, fiona.muellner@gmail.com
proc cut_sections() {
forall {
nseg=1+(1+int(L/$1/2))*2
}
}