Hipace
Functions
SliceSort.cpp File Reference
#include "SliceSort.H"
#include "utils/HipaceProfilerWrapper.H"
#include "Hipace.H"

Functions

void shiftSlippedParticles (BeamParticleContainer &beam, const int slice, amrex::Geometry const &geom)
 move particles that are not in WhichBeamSlice::This (including slipped) anymore to WhichBeamSlice::Next (slipped region) while also fully deleting invalid particles. More...
 

Function Documentation

◆ shiftSlippedParticles()

void shiftSlippedParticles ( BeamParticleContainer beam,
const int  slice,
amrex::Geometry const &  geom 
)

move particles that are not in WhichBeamSlice::This (including slipped) anymore to WhichBeamSlice::Next (slipped region) while also fully deleting invalid particles.

Parameters
[in]beamBeam particle container
[in]slicelongitudinal slice
[in]geomGeometry