1 #ifndef AMREX_BOXITERATOR_H_
2 #define AMREX_BOXITERATOR_H_
3 #include <AMReX_Config.H>
66 void begin () noexcept;
74 void reset () noexcept;
82 void operator ++ () noexcept;
84 void next () noexcept;
91 [[nodiscard]] const
IntVect& operator () () const noexcept;
97 [[nodiscard]]
bool ok () noexcept;
133 #if AMREX_SPACEDIM >= 2
138 #if AMREX_SPACEDIM >= 3
#define BL_ASSERT(EX)
Definition: AMReX_BLassert.H:39
iterates through the IntVects of a Box
Definition: AMReX_BoxIterator.H:33
void operator++() noexcept
Definition: AMReX_BoxIterator.H:124
void setBox(const Box &a_bx) noexcept
Definition: AMReX_BoxIterator.cpp:21
IntVect m_boxHi
Definition: AMReX_BoxIterator.H:102
const IntVect & operator()() const noexcept
Definition: AMReX_BoxIterator.H:150
void define(const Box &a_bx) noexcept
Definition: AMReX_BoxIterator.cpp:5
BoxIterator() noexcept=default
void next() noexcept
Definition: AMReX_BoxIterator.H:130
void reset() noexcept
Definition: AMReX_BoxIterator.H:118
IntVect m_current
Definition: AMReX_BoxIterator.H:100
bool ok() noexcept
Definition: AMReX_BoxIterator.H:158
IntVect m_boxLo
Definition: AMReX_BoxIterator.H:101
void begin() noexcept
Definition: AMReX_BoxIterator.H:112
Definition: AMReX_Amr.cpp:49