20 #include <CD_NamespaceHeader.H>
38 RealBox(
const RealVect a_lo,
const RealVect a_hi);
47 RealBox(
const Box a_box,
const RealVect a_probLo,
const Real a_dx);
106 #include <CD_NamespaceFooter.H>
Rectangular box in real space.
Definition: CD_RealBox.H:26
bool isBoxInside(const RealBox &a_box) const
Check if a_box is completely inside this box. For this to be true, all the corners of a_box must be c...
Definition: CD_RealBox.cpp:133
bool isPointInside(const RealVect a_point) const
Check if a_point is inside this box.
Definition: CD_RealBox.cpp:116
RealVect m_lo
Low corner.
Definition: CD_RealBox.H:98
~RealBox()
Destructor (does nothing)
Definition: CD_RealBox.cpp:41
Vector< RealVect > getCorners() const
Get all the corners of this box (4 in 2D, 8 in 3D);.
Definition: CD_RealBox.cpp:57
RealVect getHi() const
Get high corner.
Definition: CD_RealBox.cpp:51
RealBox()
Default constructor. Must subsequently set the corners.
Definition: CD_RealBox.cpp:19
RealVect m_hi
High corner.
Definition: CD_RealBox.H:103
RealVect getLo() const
Get low corner.
Definition: CD_RealBox.cpp:45
bool intersect(const RealBox &a_box) const
Check if a_box intersects this box. This is done by checking if.
Definition: CD_RealBox.cpp:84