-
Notifications
You must be signed in to change notification settings - Fork 29
Topic gauss2p5d #1163
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
Topic gauss2p5d #1163
Conversation
Add the new Gauss 3D space charge pusher.
- replace with new file name in doc - move into own section in CMake
- avoid temporary arrays - integrate in one go
Only used for particles. Ref orbit asserts well, too.
|
|
||
|
|
||
| int tp5d_bins = 129; | ||
| // pp_algo.queryAddWithParser("tp5d_bins", tp5d_bins); |
Check notice
Code scanning / CodeQL
Commented-out code Note
| // pp_algo.queryAddWithParser("tp5d_bins", tp5d_bins); | ||
|
|
||
| // Measure beam size, extract the min, max of particle positions | ||
| [[maybe_unused]] auto const [x_min, y_min, t_min, x_max, y_max, t_max] = |
Check notice
Code scanning / CodeQL
Unused local variable Note
| // pp_algo.queryAddWithParser("tp5d_bins", tp5d_bins); | ||
|
|
||
| // Measure beam size, extract the min, max of particle positions | ||
| [[maybe_unused]] auto const [x_min, y_min, t_min, x_max, y_max, t_max] = |
Check notice
Code scanning / CodeQL
Unused local variable Note
| // pp_algo.queryAddWithParser("tp5d_bins", tp5d_bins); | ||
|
|
||
| // Measure beam size, extract the min, max of particle positions | ||
| [[maybe_unused]] auto const [x_min, y_min, t_min, x_max, y_max, t_max] = |
Check notice
Code scanning / CodeQL
Unused local variable Note
| // pp_algo.queryAddWithParser("tp5d_bins", tp5d_bins); | ||
|
|
||
| // Measure beam size, extract the min, max of particle positions | ||
| [[maybe_unused]] auto const [x_min, y_min, t_min, x_max, y_max, t_max] = |
Check notice
Code scanning / CodeQL
Unused local variable Note
| * | ||
| * This calculates the space charge fields from a 3D Gaussian distribution | ||
| * with respect to particle position from the following paper. | ||
| * "Two-and-a-half dimensional symplectic space-charge slover" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This citation looks incomplete.
cemitch99
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot! The only failing tests occur on GPU, due to a host-device error that we can fix. Do you have a test in mind for the Gauss2p5d case? We can exchange some ideas this afternoon.
|
Continued in #1166 |
fixed Gauss3dPush and added 2.5D SC with transverse Gaussian distribution.