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
 

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

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