|
WarpX
|
#include "Particles/WarpXParticleContainer.H"#include <AMReX.H>#include <AMReX_REAL.H>#include <cmath>#include <limits>Go to the source code of this file.
Classes | |
| struct | GetParticlePosition< T_PIdx > |
| Functor that can be used to extract the positions of the macroparticles inside a ParallelFor kernel. More... | |
| struct | SetParticlePosition< T_PIdx > |
| Functor that can be used to modify the positions of the macroparticles, inside a ParallelFor kernel. More... | |
Functions | |
| template<typename T_PIdx = PIdx> | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | get_particle_position (const WarpXParticleContainer::SuperParticleType &p, amrex::ParticleReal &x, amrex::ParticleReal &y, amrex::ParticleReal &z) noexcept |
Extract the cartesian position coordinates of the particle p and store them in the variables x, y, z This version operates on a SuperParticle. | |
|
noexcept |
Extract the cartesian position coordinates of the particle p and store them in the variables x, y, z This version operates on a SuperParticle.
| T_PIdx | particle index enumerator |