-
Notifications
You must be signed in to change notification settings - Fork 637
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
H and B fields mismatch #2039
Labels
Comments
Maybe add some print statements to Lines 259 to 268 in abea7ed
|
It seems that H fields and B fields are not updated at the same time. Line 254 in abea7ed
so H fields are updated at timeH but H fields are updated at timeE. |
Good catch! Looks like an easy fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The H and B field returned by
get_dft_array
disagree even without magnetic material. Here is a simple test case without any material:And it prints
The E and D fields agree, as expected; but H and B fields don't. In fact, Re<H, B> / Im<H, B> is approximately the resolution.
The text was updated successfully, but these errors were encountered: