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 plot_boundaries of plot2D for cylindrical coordinates #2136

Merged
merged 1 commit into from
Jul 20, 2022

Conversation

oskooi
Copy link
Collaborator

@oskooi oskooi commented Jul 17, 2022

#2079 fixed a bug in plot_boundaries of the visualization routine Simulation.plot2D for 3D coordinates . However, in doing so it unfortunately introduced a bug in cylindrical coordinates. This PR fixes that bug.

The bug can be demonstrated by python/examples/zone_plate.py .

master
zone_plate_epsilon

this PR
zone_plate_epsilon

@oskooi oskooi added the bug label Jul 17, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #2136 (f1397d4) into master (2a8e546) will decrease coverage by 0.11%.
The diff coverage is 47.61%.

@@            Coverage Diff             @@
##           master    #2136      +/-   ##
==========================================
- Coverage   73.18%   73.07%   -0.12%     
==========================================
  Files          17       17              
  Lines        4942     4951       +9     
==========================================
+ Hits         3617     3618       +1     
- Misses       1325     1333       +8     
Impacted Files Coverage Δ
python/visualization.py 42.95% <47.61%> (-0.52%) ⬇️

@stevengj stevengj merged commit 21066c2 into NanoComp:master Jul 20, 2022
@oskooi oskooi deleted the cyl_plot2D_fix branch July 20, 2022 20:55
@zcshinee zcshinee mentioned this pull request Feb 12, 2024
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.

3 participants