Block-Structured AMR Software Framework
amrex::ParticleLocator< Bins > Class Template Reference

#include <AMReX_ParticleLocator.H>

Public Types

using BinIteratorFactory = typename Bins::BinIteratorFactory
 

Public Member Functions

 ParticleLocator ()=default
 
void build (const BoxArray &ba, const Geometry &geom)
 
void setGeometry (const Geometry &a_geom) noexcept
 
AssignGrid< BinIteratorFactorygetGridAssignor () const noexcept
 
bool isValid (const BoxArray &ba) const noexcept
 

Protected Attributes

bool m_defined {false}
 
BoxArray m_ba
 
Geometry m_geom
 
IntVect m_bins_lo
 
IntVect m_bins_hi
 
IntVect m_bin_size
 
IntVect m_num_bins
 
Bins m_bins
 
Gpu::HostVector< Boxm_host_boxes
 
Gpu::DeviceVector< Boxm_device_boxes
 

Member Typedef Documentation

◆ BinIteratorFactory

template<class Bins >
using amrex::ParticleLocator< Bins >::BinIteratorFactory = typename Bins::BinIteratorFactory

Constructor & Destructor Documentation

◆ ParticleLocator()

template<class Bins >
amrex::ParticleLocator< Bins >::ParticleLocator ( )
default

Member Function Documentation

◆ build()

template<class Bins >
void amrex::ParticleLocator< Bins >::build ( const BoxArray ba,
const Geometry geom 
)
inline

◆ getGridAssignor()

template<class Bins >
AssignGrid<BinIteratorFactory> amrex::ParticleLocator< Bins >::getGridAssignor ( ) const
inlinenoexcept

◆ isValid()

template<class Bins >
bool amrex::ParticleLocator< Bins >::isValid ( const BoxArray ba) const
inlinenoexcept

◆ setGeometry()

template<class Bins >
void amrex::ParticleLocator< Bins >::setGeometry ( const Geometry a_geom)
inlinenoexcept

Member Data Documentation

◆ m_ba

template<class Bins >
BoxArray amrex::ParticleLocator< Bins >::m_ba
protected

◆ m_bin_size

template<class Bins >
IntVect amrex::ParticleLocator< Bins >::m_bin_size
protected

◆ m_bins

template<class Bins >
Bins amrex::ParticleLocator< Bins >::m_bins
protected

◆ m_bins_hi

template<class Bins >
IntVect amrex::ParticleLocator< Bins >::m_bins_hi
protected

◆ m_bins_lo

template<class Bins >
IntVect amrex::ParticleLocator< Bins >::m_bins_lo
protected

◆ m_defined

template<class Bins >
bool amrex::ParticleLocator< Bins >::m_defined {false}
protected

◆ m_device_boxes

template<class Bins >
Gpu::DeviceVector<Box> amrex::ParticleLocator< Bins >::m_device_boxes
protected

◆ m_geom

template<class Bins >
Geometry amrex::ParticleLocator< Bins >::m_geom
protected

◆ m_host_boxes

template<class Bins >
Gpu::HostVector<Box> amrex::ParticleLocator< Bins >::m_host_boxes
protected

◆ m_num_bins

template<class Bins >
IntVect amrex::ParticleLocator< Bins >::m_num_bins
protected

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