12 #ifndef CD_CylinderSdf_H
13 #define CD_CylinderSdf_H
19 #include <CD_NamespaceHeader.H>
34 CylinderSdf(
const RealVect& a_center1,
const RealVect& a_center2,
const Real& a_radius,
const bool& a_fluidInside);
47 value(
const RealVect& a_point)
const;
97 #include <CD_NamespaceFooter.H>
Declaration of a cylinder IF class.
Definition: CD_CylinderSdf.H:25
RealVect m_center
Center.
Definition: CD_CylinderSdf.H:79
virtual BaseIF * newImplicitFunction() const
IF factory method.
Definition: CD_CylinderSdf.cpp:87
CylinderSdf(const RealVect &a_center1, const RealVect &a_center2, const Real &a_radius, const bool &a_fluidInside)
Constructor.
Definition: CD_CylinderSdf.cpp:19
RealVect m_axis
Top.
Definition: CD_CylinderSdf.H:74
Real m_radius
Cylinder radius.
Definition: CD_CylinderSdf.H:89
RealVect m_top
Top.
Definition: CD_CylinderSdf.H:69
RealVect m_endPoint1
One end poitn.
Definition: CD_CylinderSdf.H:59
virtual Real value(const RealVect &a_point) const
Test whether inside or not.
Definition: CD_CylinderSdf.cpp:47
Real m_length
Cylinder length.
Definition: CD_CylinderSdf.H:84
bool m_fluidInside
Inside or outside domain.
Definition: CD_CylinderSdf.H:94
RealVect m_endPoint2
The other end point.
Definition: CD_CylinderSdf.H:64