Block-Structured AMR Software Framework
AMReX_Particle.H File Reference
#include <AMReX_Config.H>
#include <AMReX_REAL.H>
#include <AMReX_FArrayBox.H>
#include <AMReX_IntVect.H>
#include <AMReX_RealVect.H>
#include <AMReX_ParmParse.H>
#include <AMReX_Geometry.H>
#include <string>

Go to the source code of this file.

Classes

struct  amrex::ParticleIDWrapper
 
struct  amrex::ParticleCPUWrapper
 
struct  amrex::ConstParticleIDWrapper
 
struct  amrex::ConstParticleCPUWrapper
 
struct  amrex::ParticleBase< T, NReal, NInt >
 
struct  amrex::ParticleBase< T, 0, NInt >
 
struct  amrex::ParticleBase< T, NReal, 0 >
 
struct  amrex::ParticleBase< T, 0, 0 >
 
struct  amrex::SoAParticleBase
 
struct  amrex::Particle< T_NReal, T_NInt >
 The struct used to store particles. More...
 

Namespaces

 amrex
 
 amrex::LongParticleIds
 
 amrex::ParticleIdCpus
 

Functions

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE std::uint64_t amrex::SetParticleIDandCPU (Long id, int cpu) noexcept
 
template<int NReal, int NInt>
std::ostream & amrex::operator<< (std::ostream &os, const Particle< NReal, NInt > &p)
 
template<int NReal>
std::ostream & amrex::operator<< (std::ostream &os, const Particle< NReal, 0 > &p)
 
template<int NInt>
std::ostream & amrex::operator<< (std::ostream &os, const Particle< 0, NInt > &p)
 
template<int NReal = 0, int NInt = 0>
std::ostream & amrex::operator<< (std::ostream &os, const Particle< 0, 0 > &p)
 

Variables

constexpr Long amrex::LongParticleIds::GhostParticleID = 549755813887L
 
constexpr Long amrex::LongParticleIds::VirtualParticleID = GhostParticleID - 1
 
constexpr Long amrex::LongParticleIds::LastParticleID = GhostParticleID - 2
 
constexpr Long amrex::LongParticleIds::DoSplitParticleID = GhostParticleID - 3
 
constexpr Long amrex::LongParticleIds::NoSplitParticleID = GhostParticleID - 4
 
constexpr std::uint64_t amrex::ParticleIdCpus::Invalid = 16777216