-
Notifications
You must be signed in to change notification settings - Fork 644
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
plot2D missing block on multi-matrial system #1104
Comments
The @oskooi, we discussed this in #415, but didn't we have a separate issue for supporting dispersive materials in |
@stevengj Thanks for your reply. So, if the material has the frequency-dependent term, the plot of geometry would be failed. What about the simulation result? Is it still be accurate? |
Actually, I modified the routines awhile back to output epsilon at a frequency if the user provides an I can briefly look into it. |
Aha! There's just too much dynamic range between your GaAs index and the Au index. I log-transformed the It might be good to add a user passable function into the epsilon arguments so we can easily transform the data, similar to what we do with the fields. Obviously we need to update the docs with the "hidden" frequency evaluation feature. Note: when evaluating epsilon at a particular frequency, it only returns the real part. The original purpose of the feature was to enable dispersive eigenmode coefficient calculations. MPB obviously only supports purely real materials (for now). Since it uses the same routines, you only get the real part (which is pretty small for these metals). |
@smartalecH Thanks for your kindly support! Since the problem has been detected and solved, I am gonna close the issue. |
Hi all,
Currently, I am trying to simulate the grating structure with multiple materials (Au and GaAs).
After building the geometry, I visualized the geometry for checking.
However, the visualized result seems not to show the second block (gAu).
The following is my code. I hope someone could help me. Thanks.
The text was updated successfully, but these errors were encountered: