12 #ifndef CD_PolygonRodIF_H
13 #define CD_PolygonRodIF_H
19 #include <CD_NamespaceHeader.H>
38 const RealVect a_center2,
40 const Real a_cornerCurv,
42 const bool a_fluidInside);
59 value(
const RealVect& a_pos)
const;
74 #include <CD_NamespaceFooter.H>
Implicit function class describing a rod with a polygonal cross scetion.
Definition: CD_PolygonRodIF.H:26
virtual ~PolygonRodIF()
Destructor.
Definition: CD_PolygonRodIF.cpp:92
virtual Real value(const RealVect &a_pos) const
Value function. Returns distance to object (ish).
Definition: CD_PolygonRodIF.cpp:96
virtual BaseIF * newImplicitFunction() const
Factory method.
Definition: CD_PolygonRodIF.cpp:102
PolygonRodIF(const RealVect a_center1, const RealVect a_center2, const Real a_radius, const Real a_cornerCurv, const int a_numSides, const bool a_fluidInside)
Base constructor.
Definition: CD_PolygonRodIF.cpp:26
RefCountedPtr< BaseIF > m_baseif
Base function.
Definition: CD_PolygonRodIF.H:71