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

#include <AMReX_ParticleBufferMap.H>

Public Member Functions

 GetBucket (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_lev_gid_to_bucket
 
const intm_lev_offsets
 

Constructor & Destructor Documentation

◆ GetBucket()

amrex::GetBucket::GetBucket ( 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::GetBucket::operator() ( const int  lev,
const int  gid 
) const
inlinenoexcept

Member Data Documentation

◆ m_lev_gid_to_bucket

const int* amrex::GetBucket::m_lev_gid_to_bucket

◆ m_lev_offsets

const int* amrex::GetBucket::m_lev_offsets

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