Block-Structured AMR Software Framework
amrex::AssignGrid< BinIteratorFactory > Struct Template Reference

#include <AMReX_ParticleLocator.H>

Public Member Functions

AMREX_GPU_HOST_DEVICE AssignGrid ()=default
 
 AssignGrid (BinIteratorFactory a_bif, const IntVect &a_bins_lo, const IntVect &a_bins_hi, const IntVect &a_bin_size, const IntVect &a_num_bins, const Geometry &a_geom)
 
template<typename P , typename Assignor = DefaultAssignor>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int operator() (const P &p, int nGrow=0, Assignor const &assignor=Assignor{}) const noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int operator() (const IntVect &iv, int nGrow=0) const noexcept
 

Public Attributes

BinIteratorFactory m_bif
 
Dim3 m_lo
 
Dim3 m_hi
 
Dim3 m_bin_size
 
Dim3 m_num_bins
 
Box m_domain
 
GpuArray< Real, AMREX_SPACEDIM > m_plo
 
GpuArray< Real, AMREX_SPACEDIM > m_dxi
 

Constructor & Destructor Documentation

◆ AssignGrid() [1/2]

template<class BinIteratorFactory >
AMREX_GPU_HOST_DEVICE amrex::AssignGrid< BinIteratorFactory >::AssignGrid ( )
default

◆ AssignGrid() [2/2]

template<class BinIteratorFactory >
amrex::AssignGrid< BinIteratorFactory >::AssignGrid ( BinIteratorFactory  a_bif,
const IntVect a_bins_lo,
const IntVect a_bins_hi,
const IntVect a_bin_size,
const IntVect a_num_bins,
const Geometry a_geom 
)
inline

Member Function Documentation

◆ operator()() [1/2]

template<class BinIteratorFactory >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int amrex::AssignGrid< BinIteratorFactory >::operator() ( const IntVect iv,
int  nGrow = 0 
) const
inlinenoexcept

◆ operator()() [2/2]

template<class BinIteratorFactory >
template<typename P , typename Assignor = DefaultAssignor>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int amrex::AssignGrid< BinIteratorFactory >::operator() ( const P &  p,
int  nGrow = 0,
Assignor const &  assignor = Assignor{} 
) const
inlinenoexcept

Member Data Documentation

◆ m_bif

template<class BinIteratorFactory >
BinIteratorFactory amrex::AssignGrid< BinIteratorFactory >::m_bif

◆ m_bin_size

template<class BinIteratorFactory >
Dim3 amrex::AssignGrid< BinIteratorFactory >::m_bin_size

◆ m_domain

template<class BinIteratorFactory >
Box amrex::AssignGrid< BinIteratorFactory >::m_domain

◆ m_dxi

template<class BinIteratorFactory >
GpuArray<Real, AMREX_SPACEDIM> amrex::AssignGrid< BinIteratorFactory >::m_dxi

◆ m_hi

template<class BinIteratorFactory >
Dim3 amrex::AssignGrid< BinIteratorFactory >::m_hi

◆ m_lo

template<class BinIteratorFactory >
Dim3 amrex::AssignGrid< BinIteratorFactory >::m_lo

◆ m_num_bins

template<class BinIteratorFactory >
Dim3 amrex::AssignGrid< BinIteratorFactory >::m_num_bins

◆ m_plo

template<class BinIteratorFactory >
GpuArray<Real, AMREX_SPACEDIM> amrex::AssignGrid< BinIteratorFactory >::m_plo

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