|
constexpr | RealBox () noexcept=default |
| The default constructor. Builds invalid RealBox. More...
|
|
AMREX_GPU_HOST_DEVICE | RealBox (const Real *a_lo, const Real *a_hi) noexcept |
| Construct region given diagonal points. More...
|
|
| RealBox (const std::array< Real, AMREX_SPACEDIM > &a_lo, const std::array< Real, AMREX_SPACEDIM > &a_hi) noexcept |
|
| RealBox (const Box &bx, const Real *dx, const Real *base) noexcept |
| Construct region given index box, cell spacing and physical location of index (0,0,0). More...
|
|
AMREX_GPU_HOST_DEVICE | RealBox (AMREX_D_DECL(Real x0, Real y0, Real z0), AMREX_D_DECL(Real x1, Real y1, Real z1)) noexcept |
| Explicit dimension specific constructors. More...
|
|
AMREX_GPU_HOST_DEVICE const Real * | lo () const &noexcept |
| Returns lo side. More...
|
|
AMREX_GPU_HOST_DEVICE const Real * | lo () &&=delete |
|
AMREX_GPU_HOST_DEVICE const Real * | hi () const &noexcept |
| Returns hide side. More...
|
|
AMREX_GPU_HOST_DEVICE const Real * | hi () &&=delete |
|
AMREX_GPU_HOST_DEVICE Real | lo (int dir) const noexcept |
| Returns length in specified direction. More...
|
|
AMREX_GPU_HOST_DEVICE Real | hi (int dir) const noexcept |
| Returns hi side in specified direction. More...
|
|
AMREX_GPU_HOST_DEVICE Real | length (int dir) const noexcept |
| Returns length in specified direction. More...
|
|
void | setLo (const Real *a_lo) noexcept |
| Sets lo side. More...
|
|
void | setLo (const Vector< Real > &a_lo) noexcept |
| Sets lo side. More...
|
|
void | setLo (const RealVect &a_lo) noexcept |
| Sets lo side. More...
|
|
void | setLo (int dir, Real a_lo) noexcept |
| Sets lo side in specified direction. More...
|
|
void | setHi (const Real *a_hi) noexcept |
| Sets hi side. More...
|
|
void | setHi (const Vector< Real > &a_hi) noexcept |
| Sets hi side. More...
|
|
void | setHi (const RealVect &a_hi) noexcept |
| Sets hi side. More...
|
|
void | setHi (int dir, Real a_hi) noexcept |
| Sets hi side in specified direction. More...
|
|
AMREX_GPU_HOST_DEVICE bool | ok () const noexcept |
| Is the RealBox OK; i.e. does it have non-negative volume? More...
|
|
AMREX_GPU_HOST_DEVICE Real | volume () const noexcept |
|
AMREX_GPU_HOST_DEVICE bool | contains (const Real *point, Real eps=0.0) const noexcept |
| Is the specified point contained in the RealBox? More...
|
|
AMREX_GPU_HOST_DEVICE bool | contains (XDim3 point, Real eps=0.0) const noexcept |
| Is the specified point contained in the RealBox? More...
|
|
AMREX_GPU_HOST_DEVICE bool | contains (const RealVect &rv, Real eps=0.0) const noexcept |
| Is the specified RealVect contained in this RealBox? More...
|
|
AMREX_GPU_HOST_DEVICE bool | contains (const RealBox &rb, Real eps=0.0) const noexcept |
| Is the specified RealBox contained in this RealBox? More...
|
|
AMREX_GPU_HOST_DEVICE bool | intersects (const RealBox &bx) const noexcept |
| Does the specified RealBox intersect with this RealBox? More...
|
|
A Box with real dimensions. A RealBox is OK iff volume >= 0.