Block-Structured AMR Software Framework
 
Loading...
Searching...
No Matches
amrex::ConstParticleIDWrapper Struct Reference

#include <AMReX_Particle.H>

Public Member Functions

__host__ __device__ ConstParticleIDWrapper (const uint64_t &idata) noexcept
 
__host__ __device__ operator Long () const noexcept
 
__host__ __device__ bool is_valid () const noexcept
 

Public Attributes

const uint64_t * m_idata
 

Constructor & Destructor Documentation

◆ ConstParticleIDWrapper()

__host__ __device__ amrex::ConstParticleIDWrapper::ConstParticleIDWrapper ( const uint64_t &  idata)
inlinenoexcept

Member Function Documentation

◆ is_valid()

__host__ __device__ bool amrex::ConstParticleIDWrapper::is_valid ( ) const
inlinenoexcept

Check the sign of the id.

Returns true if the id is positive, otherwise false (invalid particle).

◆ operator Long()

__host__ __device__ amrex::ConstParticleIDWrapper::operator Long ( ) const
inlinenoexcept

Member Data Documentation

◆ m_idata

const uint64_t* amrex::ConstParticleIDWrapper::m_idata

The documentation for this struct was generated from the following file: