Skip to content
Snippets Groups Projects
Commit 6fe4d1a0 authored by Alexis GAMELIN's avatar Alexis GAMELIN
Browse files

Allow for tracking with empty bunches

Check that the bunch is not empty before binning in Mpi.share_distributions. If it is then the beam filling pattern is updated and empty array are sent.
In CavityResonator.track, the tracking without mpi is modified to take into account the case with an empty bunch. Mpi case is fine as the beam filling pattern is updated in the call for Mpi.share_distributions.
In WakePotential.track, if the bunch is empty tracking does nothing.
parent eff9c02d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment