Hipace
Functions
SliceSort.H File Reference
#include "particles/beam/BeamParticleContainer.H"
#include "BoxSort.H"
#include <AMReX_MultiFab.H>

Go to the source code of this file.

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