Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow zero height for objects in 2d? #56

Open
stevengj opened this issue Apr 29, 2020 · 1 comment
Open

allow zero height for objects in 2d? #56

stevengj opened this issue Apr 29, 2020 · 1 comment

Comments

@stevengj
Copy link
Collaborator

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
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant