19 #include <CD_NamespaceHeader.H>
33 BoxSdf(
const RealVect& a_loCorner,
const RealVect& a_hiCorner,
const bool& a_fluidInside);
50 value(
const RealVect& a_pos)
const;
75 #include <CD_NamespaceFooter.H>
Class for defining a two- or three-dimensional box with arbitrary centroid and orientation.
Definition: CD_BoxSdf.H:25
BoxSdf(const RealVect &a_loCorner, const RealVect &a_hiCorner, const bool &a_fluidInside)
Base constructor.
Definition: CD_BoxSdf.cpp:22
RealVect m_loCorner
Lower left corner.
Definition: CD_BoxSdf.H:62
bool m_fluidInside
Fluid inside box or not.
Definition: CD_BoxSdf.H:72
virtual BaseIF * newImplicitFunction() const
IF Factory method.
Definition: CD_BoxSdf.cpp:63
virtual Real value(const RealVect &a_pos) const
Test if object is on inside or outside.
Definition: CD_BoxSdf.cpp:40
virtual ~BoxSdf()
Destructor.
Definition: CD_BoxSdf.cpp:36
RealVect m_hiCorner
Upper right corner.
Definition: CD_BoxSdf.H:67