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

include exp(ikx) phase in DFT fields for BFAST simulations #2729

Open
stevengj opened this issue Nov 30, 2023 · 0 comments
Open

include exp(ikx) phase in DFT fields for BFAST simulations #2729

stevengj opened this issue Nov 30, 2023 · 0 comments

Comments

@stevengj
Copy link
Collaborator

@Dan2357 in #2609 added a new feature to do fixed-angle broadband simulations by the BFAST algorithm. To make this convenient to use, however, more features of Meep need to become "aware" of the BFAST feature when it is enabled.

In particular, for BFAST simulations the computed fields are not the physical (E,H) fields, but rather are the physical fields scaled by an exp(-ikx) phase factor, where k is frequency dependent (the BFAST "kbar" factor multiplied by ω). When the user computes a DFT field, it would be good if Meep provided an option to "unscale" the resulting fields back to the physical fields.

Also, in the mode coefficient calculations etcetera, they need to become aware of the BFAST k when setting the boundary conditions, and they should scale the mode fields by exp(-ikx).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant