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

#include <AMReX_ParticleUtil.H>

Public Member Functions

 BinMapper (const int *off_bins_p, const GpuArray< Real, 3 > *dxi_p, const GpuArray< Real, 3 > *plo_p, const Dim3 *lo_p, const Dim3 *hi_p, int *bin_type_array=nullptr)
 
template<typename T >
__host__ __device__ unsigned int operator() (const T &ptd, int i) const
 

Private Attributes

const int * m_off_bins_p
 
const GpuArray< Real, 3 > * m_dxi_p
 
const GpuArray< Real, 3 > * m_plo_p
 
const Dim3m_lo_p
 
const Dim3m_hi_p
 
int * m_bin_type_array
 

Constructor & Destructor Documentation

◆ BinMapper()

amrex::BinMapper::BinMapper ( const int *  off_bins_p,
const GpuArray< Real, 3 > *  dxi_p,
const GpuArray< Real, 3 > *  plo_p,
const Dim3 lo_p,
const Dim3 hi_p,
int *  bin_type_array = nullptr 
)
inline

Member Function Documentation

◆ operator()()

template<typename T >
__host__ __device__ unsigned int amrex::BinMapper::operator() ( const T &  ptd,
int  i 
) const
inline

Member Data Documentation

◆ m_bin_type_array

int* amrex::BinMapper::m_bin_type_array
private

◆ m_dxi_p

const GpuArray<Real,3>* amrex::BinMapper::m_dxi_p
private

◆ m_hi_p

const Dim3* amrex::BinMapper::m_hi_p
private

◆ m_lo_p

const Dim3* amrex::BinMapper::m_lo_p
private

◆ m_off_bins_p

const int* amrex::BinMapper::m_off_bins_p
private

◆ m_plo_p

const GpuArray<Real,3>* amrex::BinMapper::m_plo_p
private

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