NanoComp / libctl

Guile-based library implementing flexible control files for scientific simulations
GNU General Public License v2.0
18 stars 23 forks source link

allow zero height for objects in 2d? #56

Open stevengj opened 4 years ago

stevengj commented 4 years ago

It would be nice to allow objects to have zero thickness in 2d simulations, especially prisms since that is the default when loading GDSII files (see also NanoComp/meep#1196).

stevengj commented 4 years ago

It looks naively like the prisms check 0 ≤ z ≤ height, which would allow zero height, but maybe there is a rounding error occurring.