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

DftNear2Far class contains no member function to compute Poynting flux of its near/monitor fields #2665

Open
oskooi opened this issue Oct 5, 2023 · 0 comments · May be fixed by #2670
Open

Comments

@oskooi
Copy link
Collaborator

oskooi commented Oct 5, 2023

The DftNear2Far class which is instantiated using add_near2far contains a member function flux(self, direction, where, resolution) used to compute the Poynting of a "far" region specified by where. DftNear2Far contains no member function to compute the flux of its near/monitor fields.

(This is why the tutorial in #2629 involved two separate but overlapping DFT fields regions created using add_near2far and add_flux. The DftFlux class created using add_flux was used to compute the flux of the "near" fields.)

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

Successfully merging a pull request may close this issue.

1 participant