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

Fix bug in step-db update equations in cylindrical coordinates for m=±1 #2382

Merged
merged 2 commits into from
Jan 25, 2023

Conversation

oskooi
Copy link
Collaborator

@oskooi oskooi commented Jan 24, 2023

Fixes a bug in the field update equations in cylindrical coordinates for m = ±1 described in #2108 (comment).

Also includes a new unit test which verifies that the radiated flux from a point source is the same for simulations with m = ±1. This is based on the discussion in #2108 (comment).

Since this bug fix also fixes the $z$-PML at $r=0$ which previously required using a large cutoff value for the GaussianSource as described in #2148 (comment), the existing unit test in test_ldos_ext_eff of test_ldos.py is also updated to remove the large cutoff parameter from the source.

@oskooi oskooi added the bug label Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants