An Iterator over the Orientation of Faces of a Box.
More...
#include <AMReX_Orientation.H>
|
| __host__ __device__ | OrientationIter (int _face) noexcept |
| | Construct an iterator on the face.
|
| |
An Iterator over the Orientation of Faces of a Box.
◆ OrientationIter() [1/3]
| constexpr amrex::OrientationIter::OrientationIter |
( |
| ) |
|
|
constexprdefaultnoexcept |
◆ OrientationIter() [2/3]
| __host__ __device__ amrex::OrientationIter::OrientationIter |
( |
const Orientation & |
_face | ) |
|
|
inlinenoexcept |
◆ OrientationIter() [3/3]
| __host__ __device__ amrex::OrientationIter::OrientationIter |
( |
int |
_face | ) |
|
|
inlineprivatenoexcept |
Construct an iterator on the face.
◆ isValid()
| __host__ __device__ bool amrex::OrientationIter::isValid |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator void *()
| __host__ __device__ amrex::OrientationIter::operator void * |
( |
| ) |
|
|
inlinenoexcept |
Cast to void*. Used to test if iterator is valid.
◆ operator!=()
| __host__ __device__ bool amrex::OrientationIter::operator!= |
( |
const OrientationIter & |
oi | ) |
const |
|
inlinenoexcept |
◆ operator()()
| __host__ __device__ Orientation amrex::OrientationIter::operator() |
( |
| ) |
const |
|
inlinenoexcept |
Return the orientation of the face.
◆ operator++() [1/2]
| __host__ __device__ OrientationIter & amrex::OrientationIter::operator++ |
( |
| ) |
|
|
inlinenoexcept |
◆ operator++() [2/2]
| __host__ __device__ OrientationIter amrex::OrientationIter::operator++ |
( |
int |
| ) |
|
|
inlinenoexcept |
◆ operator--() [1/2]
| __host__ __device__ OrientationIter & amrex::OrientationIter::operator-- |
( |
| ) |
|
|
inlinenoexcept |
◆ operator--() [2/2]
| __host__ __device__ OrientationIter amrex::OrientationIter::operator-- |
( |
int |
| ) |
|
|
inlinenoexcept |
◆ operator==()
| __host__ __device__ bool amrex::OrientationIter::operator== |
( |
const OrientationIter & |
oi | ) |
const |
|
inlinenoexcept |
◆ rewind()
| __host__ __device__ void amrex::OrientationIter::rewind |
( |
| ) |
|
|
inlinenoexcept |
Reset (rewind) the iterator.
◆ face
| int amrex::OrientationIter::face = 0 |
|
private |
The documentation for this class was generated from the following file: