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

#include <AMReX_ParticleLocator.H>

Public Types

using BinIteratorFactory = typename Bins::BinIteratorFactory
 

Public Member Functions

 AmrParticleLocator ()=default
 
 AmrParticleLocator (const Vector< BoxArray > &a_ba, const Vector< Geometry > &a_geom)
 
 AmrParticleLocator (const ParGDBBase *a_gdb)
 
void build (const Vector< BoxArray > &a_ba, const Vector< Geometry > &a_geom)
 
void build (const ParGDBBase *a_gdb)
 
bool isValid (const Vector< BoxArray > &a_ba) const
 
bool isValid (const ParGDBBase *a_gdb) const
 
void setGeometry (const ParGDBBase *a_gdb)
 
AmrAssignGrid< BinIteratorFactorygetGridAssignor () const noexcept
 

Private Attributes

Vector< ParticleLocator< Bins > > m_locators
 
Gpu::DeviceVector< AssignGrid< BinIteratorFactory > > m_grid_assignors
 
bool m_defined = false
 

Member Typedef Documentation

◆ BinIteratorFactory

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

Constructor & Destructor Documentation

◆ AmrParticleLocator() [1/3]

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

◆ AmrParticleLocator() [2/3]

template<class Bins >
amrex::AmrParticleLocator< Bins >::AmrParticleLocator ( const Vector< BoxArray > &  a_ba,
const Vector< Geometry > &  a_geom 
)
inline

◆ AmrParticleLocator() [3/3]

template<class Bins >
amrex::AmrParticleLocator< Bins >::AmrParticleLocator ( const ParGDBBase a_gdb)
inline

Member Function Documentation

◆ build() [1/2]

template<class Bins >
void amrex::AmrParticleLocator< Bins >::build ( const ParGDBBase a_gdb)
inline

◆ build() [2/2]

template<class Bins >
void amrex::AmrParticleLocator< Bins >::build ( const Vector< BoxArray > &  a_ba,
const Vector< Geometry > &  a_geom 
)
inline

◆ getGridAssignor()

template<class Bins >
AmrAssignGrid<BinIteratorFactory> amrex::AmrParticleLocator< Bins >::getGridAssignor ( ) const
inlinenoexcept

◆ isValid() [1/2]

template<class Bins >
bool amrex::AmrParticleLocator< Bins >::isValid ( const ParGDBBase a_gdb) const
inline

◆ isValid() [2/2]

template<class Bins >
bool amrex::AmrParticleLocator< Bins >::isValid ( const Vector< BoxArray > &  a_ba) const
inline

◆ setGeometry()

template<class Bins >
void amrex::AmrParticleLocator< Bins >::setGeometry ( const ParGDBBase a_gdb)
inline

Member Data Documentation

◆ m_defined

template<class Bins >
bool amrex::AmrParticleLocator< Bins >::m_defined = false
private

◆ m_grid_assignors

template<class Bins >
Gpu::DeviceVector<AssignGrid<BinIteratorFactory> > amrex::AmrParticleLocator< Bins >::m_grid_assignors
private

◆ m_locators

template<class Bins >
Vector<ParticleLocator<Bins> > amrex::AmrParticleLocator< Bins >::m_locators
private

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