Block-Structured AMR Software Framework
amrex::BoxIndexer Struct Reference

#include <AMReX_Box.H>

Public Member Functions

 BoxIndexer (Box const &box)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Dim3 operator() (std::uint64_t icell) const
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE IntVect intVect (std::uint64_t icell) const
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE std::uint64_t numPts () const
 

Public Attributes

std::uint64_t npts
 
int lo
 

Constructor & Destructor Documentation

◆ BoxIndexer()

amrex::BoxIndexer::BoxIndexer ( Box const &  box)
inline

Member Function Documentation

◆ intVect()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE IntVect amrex::BoxIndexer::intVect ( std::uint64_t  icell) const
inline

◆ numPts()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE std::uint64_t amrex::BoxIndexer::numPts ( ) const
inline

◆ operator()()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Dim3 amrex::BoxIndexer::operator() ( std::uint64_t  icell) const
inline

Member Data Documentation

◆ lo

int amrex::BoxIndexer::lo

◆ npts

std::uint64_t amrex::BoxIndexer::npts

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