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

Add a simple space charge benchmark for FFTX. #761

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

cemitch99
Copy link
Member

This is based on:
C. E. Mayes, R. D. Ryne, and D. C. Sagan, "3D Space Charge in BMAD," in proc. IPAC2018,
DOI:10.18429/JACoW-IPAC2018-THPAK085

It is a simplified version of PR#429, modified to use the FFT IGF Poisson solver, with an increase in numerical resolution.

examples/benchmark_fftx/run_fieldplots_Ex.py Fixed Show fixed Hide fixed
examples/benchmark_fftx/run_fieldplots_Ex.py Fixed Show fixed Hide fixed
examples/benchmark_fftx/run_fieldplots_Ex.py Fixed Show fixed Hide fixed
)

# clean shutdown
del sim

Check warning

Code scanning / CodeQL

Unnecessary delete statement in function Warning

Unnecessary deletion of local variable
sim
in function
run_and_plot
.
Remove assignment of unused variables.
@ax3l ax3l added the component: space charge Space charge & potential solver label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: space charge Space charge & potential solver
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants