Import Material
#2845
Replies: 1 comment
-
Take a look at this FAQ which describes how to overcome this common issue: https://meep.readthedocs.io/en/latest/FAQ/#why-are-the-fields-blowing-up-in-my-simulation |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I want to optimize a splitter exactly like the example on the website: https://github.com/NanoComp/meep/blob/master/python/examples/adjoint_optimization/04-Splitter.ipynb. However, I want to import material from the Meep library. When I use the command 'from meep.materials import Si', I get the error 'RuntimeError: meep: simulation fields are NaN or Inf' after running the code.
I would appreciate it if you could help me.
Best regards,
Fatemeh
Beta Was this translation helpful? Give feedback.
All reactions