WarpX
Classes
VelocityCoincidenceThinning.H File Reference
#include "Particles/Algorithms/KineticEnergy.H"
#include "Resampling.H"
#include "Utils/Parser/ParserUtils.H"
#include "Utils/ParticleUtils.H"

Go to the source code of this file.

Classes

class  VelocityCoincidenceThinning
 This class implements a particle merging scheme wherein particles are clustered in phase space and particles in the same cluster is merged into two remaining particles. The scheme conserves linear momentum and kinetic energy within each cluster. More...
 
struct  VelocityCoincidenceThinning::HeapSort
 This merging routine requires functionality to sort a GPU vector based on another GPU vector's values. The heap-sort functions below were obtained from https://www.geeksforgeeks.org/iterative-heap-sort/ and modified for the current purpose. It achieves the same as. More...
 
struct  VelocityCoincidenceThinning::VelocityBinCalculator
 Struct used to assign velocity space bin numbers to a given set of particles. More...