Block-Structured AMR Software Framework
amrex::GetPID Struct Reference

#include <AMReX_ParticleBufferMap.H>

Public Member Functions

 GetPID (const Gpu::DeviceVector< int > &bucket_to_pid, const Gpu::DeviceVector< int > &lev_gid_to_bucket, const Gpu::DeviceVector< int > &lev_offsets)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int operator() (const int lev, const int gid) const noexcept
 

Public Attributes

const intm_bucket_to_pid
 
const intm_lev_gid_to_bucket
 
const intm_lev_offsets
 

Constructor & Destructor Documentation

◆ GetPID()

amrex::GetPID::GetPID ( const Gpu::DeviceVector< int > &  bucket_to_pid,
const Gpu::DeviceVector< int > &  lev_gid_to_bucket,
const Gpu::DeviceVector< int > &  lev_offsets 
)
inline

Member Function Documentation

◆ operator()()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int amrex::GetPID::operator() ( const int  lev,
const int  gid 
) const
inlinenoexcept

Member Data Documentation

◆ m_bucket_to_pid

const int* amrex::GetPID::m_bucket_to_pid

◆ m_lev_gid_to_bucket

const int* amrex::GetPID::m_lev_gid_to_bucket

◆ m_lev_offsets

const int* amrex::GetPID::m_lev_offsets

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