|
ARTEMIS
|
#include "ParticleUtils.H"#include "WarpX.H"#include <AMReX_Algorithm.H>#include <AMReX_Array.H>#include <AMReX_Box.H>#include <AMReX_Dim3.H>#include <AMReX_Geometry.H>#include <AMReX_GpuLaunch.H>#include <AMReX_GpuQualifiers.H>#include <AMReX_IntVect.H>#include <AMReX_MFIter.H>#include <AMReX_PODVector.H>#include <AMReX_ParticleTile.H>#include <AMReX_REAL.H>#include <AMReX_SPACE.H>Namespaces | |
| ParticleUtils | |
Typedefs | |
| using | ParticleUtils::ParticleType = WarpXParticleContainer::ParticleType |
| using | ParticleUtils::ParticleTileType = WarpXParticleContainer::ParticleTileType |
| using | ParticleUtils::ParticleBins = DenseBins< ParticleType > |
| using | ParticleUtils::index_type = ParticleBins::index_type |
Functions | |
| ParticleBins | ParticleUtils::findParticlesInEachCell (int const lev, amrex::MFIter const &mfi, WarpXParticleContainer::ParticleTileType const &ptile) |
| Find the particles and count the particles that are in each cell. More specifically this function returns an amrex::DenseBins object containing an offset array and a permutation array which can be used to loop over all the cells in a tile and apply an algorithm to particles of a given species present in each cell. Note that this does not rearrange particle arrays. More... | |