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