Hipace
TileSort.H
Go to the documentation of this file.
1 /* Copyright 2021
2  *
3  * This file is part of HiPACE++.
4  *
5  * Authors: MaxThevenet
6  * License: BSD-3-Clause-LBNL
7  */
8 #ifndef HIPACE_TILESORT_H_
9 #define HIPACE_TILESORT_H_
10 
13 
14 #include <AMReX_MultiFab.H>
15 
18 
30  amrex::Box bx, int bin_size,
31  PlasmaParticleContainer& plasma, const amrex::Geometry& geom);
32 
44  amrex::Box bx, int bin_size,
45  BeamParticleContainer& beam, const amrex::Geometry& geom);
46 
47 #endif // HIPACE_TILESORT_H_
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).
Definition: TileSort.cpp:14
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).
Definition: TileSort.cpp:58
Container for particles of 1 beam species.
Definition: BeamParticleContainer.H:68
Container for particles of 1 plasma species.
Definition: PlasmaParticleContainer.H:51