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

Print warning if epsilon < 1 #356

Merged
merged 1 commit into from
May 28, 2018
Merged

Print warning if epsilon < 1 #356

merged 1 commit into from
May 28, 2018

Conversation

ChristopherHogan
Copy link
Contributor

I added the > -mp.inf clause because these lines in meep.i

metal = Medium(epsilon=-inf)
perfect_electric_conductor = Medium(epsilon=-inf)

would cause a warning to be emitted every time the meep package is imported.
@stevengj @oskooi

@stevengj stevengj merged commit d2ba7f6 into NanoComp:master May 28, 2018
@ChristopherHogan ChristopherHogan deleted the chogan/eps_warn branch May 28, 2018 12:42
bencbartlett pushed a commit to bencbartlett/meep that referenced this pull request Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants