|
WarpX
|
#include "Resampling.H"#include "Particles/WarpXParticleContainer_fwd.H"#include <AMReX_Geometry.H>#include <AMReX_REAL.H>#include <string>Go to the source code of this file.
Classes | |
| class | LevelingThinning |
| This class implements the leveling thinning algorithm as defined in Muraviev, A., et al. arXiv:2006.08593 (2020). The main steps of the algorithm are the following: for every cell we calculate a level weight, defined by the average weight of the species particles in that cell multiplied by the target ratio. Then, particles with a weight lower than the level weight are either removed, with a probability 1 - particle_weight/level_weight, or have their weight set to the level weight. More... | |