Skip to content
Snippets Groups Projects
  • Alexis GAMELIN's avatar
    6fe4d1a0
    Allow for tracking with empty bunches · 6fe4d1a0
    Alexis GAMELIN authored
    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.
    6fe4d1a0
    History
    Allow for tracking with empty bunches
    Alexis GAMELIN authored
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.