Hipace
|
#include "TileSort.H"
#include "utils/HipaceProfilerWrapper.H"
#include <AMReX_ParticleTransformation.H>
Functions | |
PlasmaBins | findParticlesInEachTile (amrex::Box bx, int bin_size, PlasmaParticleContainer &plasma, const amrex::Geometry &geom) |
Find plasma particles in each bin, and return collections of indices per bin (tile). More... | |
BeamBins | findBeamParticlesInEachTile (amrex::Box bx, int bin_size, BeamParticleContainer &beam, const amrex::Geometry &geom) |
Find beam particles in each bin, and return collections of indices per bin (tile). More... | |
BeamBins findBeamParticlesInEachTile | ( | amrex::Box | bx, |
int | bin_size, | ||
BeamParticleContainer & | beam, | ||
const amrex::Geometry & | geom | ||
) |
Find beam particles in each bin, and return collections of indices per bin (tile).
Note that this does not rearrange particle arrays
[in] | bx | 3d box in which particles are sorted per slice |
[in] | bin_size | number of cells per tile (square) |
[in] | beam | beam particle container |
[in] | geom | Geometry |
PlasmaBins findParticlesInEachTile | ( | amrex::Box | bx, |
int | bin_size, | ||
PlasmaParticleContainer & | plasma, | ||
const amrex::Geometry & | geom | ||
) |
Find plasma particles in each bin, and return collections of indices per bin (tile).
Note that this does not rearrange particle arrays
[in] | bx | 3d box in which particles are sorted per slice |
[in] | bin_size | number of cells per tile (square) |
[in] | plasma | Plasma particle container |
[in] | geom | Geometry |