You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to try out using MPB with negative epsilon materials. I know it is an "experimental" feature, but I have not even been successful in making the MPB simulation complete, I always get the error RuntimeError: meep: invalid dielectric function for MPB. This happens in the "Initializing epsilon function" step.
I have set is_negative_epsilon_ok = True and run ModeSolver.allow_negative_epsilon() before ModeSolver.run(). Am I missing some additional setting to make it work?
Here is a minimal example (in python) reproducing the issue:
Hello,
I wanted to try out using MPB with negative epsilon materials. I know it is an "experimental" feature, but I have not even been successful in making the MPB simulation complete, I always get the error
RuntimeError: meep: invalid dielectric function for MPB
. This happens in the "Initializing epsilon function" step.I have set
is_negative_epsilon_ok = True
and runModeSolver.allow_negative_epsilon()
beforeModeSolver.run()
. Am I missing some additional setting to make it work?Here is a minimal example (in python) reproducing the issue:
The text was updated successfully, but these errors were encountered: