A question about divide_elements
Posted: 10 Jan 2021, 21:25
Hi Michael,
I'd like to split a CSBEND into several slices using divide_elements. If I use save_lattice then only one instance of the slice with the same name of the original CSBEND element appears in the new lattice file, its length and angle are divided by divisions but E1 & E2 remain the same, relative to the original CSBEND element.
I'm aware there is a warning "Using save_lattice and element divisions together will produce an incorrect lattice file." But I wonder how the E1 & E2 of each slice are treated in the internal algorithm of elegant. Thanks!
Best,
Zhe
I'd like to split a CSBEND into several slices using divide_elements. If I use save_lattice then only one instance of the slice with the same name of the original CSBEND element appears in the new lattice file, its length and angle are divided by divisions but E1 & E2 remain the same, relative to the original CSBEND element.
I'm aware there is a warning "Using save_lattice and element divisions together will produce an incorrect lattice file." But I wonder how the E1 & E2 of each slice are treated in the internal algorithm of elegant. Thanks!
Best,
Zhe