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

Bug fixes for GaussianBeam2DSource #2363

Merged
merged 2 commits into from
Jan 5, 2023
Merged

Bug fixes for GaussianBeam2DSource #2363

merged 2 commits into from
Jan 5, 2023

Conversation

hammy4815
Copy link
Contributor

This pull request begins the bug fixes for GaussianBeam2DSource as described under issue #2356 .

Before merging, there is one last fix still required: When the material index is too high, and the beam waist becomes much smaller than the effective wavelength in the material, the overflows occur when passing values into the complex Hankel functions.

After finding these bugs, it might also be useful to add more test cases such as different materials, wavelengths, etc.

@hammy4815
Copy link
Contributor Author

A detailed description of this first commit is found under this comment here.

@codecov-commenter
Copy link

codecov-commenter commented Jan 5, 2023

Codecov Report

Merging #2363 (ac2f00d) into master (d29eadc) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2363      +/-   ##
==========================================
- Coverage   72.55%   72.49%   -0.06%     
==========================================
  Files          17       17              
  Lines        5156     5145      -11     
==========================================
- Hits         3741     3730      -11     
  Misses       1415     1415              
Impacted Files Coverage Δ
python/source.py 94.13% <100.00%> (-0.07%) ⬇️
python/timing_measurements.py 91.66% <0.00%> (-0.84%) ⬇️
python/chunk_balancer.py 88.88% <0.00%> (-0.14%) ⬇️
python/visualization.py 36.58% <0.00%> (-0.10%) ⬇️
python/adjoint/wrapper.py 98.43% <0.00%> (-0.03%) ⬇️
python/simulation.py 76.61% <0.00%> (-0.01%) ⬇️

@stevengj stevengj merged commit 222fff9 into NanoComp:master Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants