12 #ifndef CD_RoundedCylinderIF_H
13 #define CD_RoundedCylinderIF_H
19 #include <CD_NamespaceHeader.H>
36 const RealVect a_center2,
39 const bool a_fluidInside);
52 value(
const RealVect& a_point)
const override;
108 #elif CH_SPACEDIM == 3
114 #include <CD_NamespaceFooter.H>
Cylinder object with rounded edges (no endcaps)
Definition: CD_RoundedCylinderIF.H:25
Real m_radius
Cylinder radius.
Definition: CD_RoundedCylinderIF.H:79
void makeBaseIF()
Make the implicit function.
Definition: CD_RoundedCylinderIF.cpp:70
RealVect m_center2
Cylinder center.
Definition: CD_RoundedCylinderIF.H:69
bool m_fluidInside
Inside or outside domain.
Definition: CD_RoundedCylinderIF.H:89
Real m_length
Cylinder length.
Definition: CD_RoundedCylinderIF.H:74
Real m_curv
Radius of curvature.
Definition: CD_RoundedCylinderIF.H:84
virtual Real value(const RealVect &a_point) const override
Get distance to object.
Definition: CD_RoundedCylinderIF.cpp:52
RoundedCylinderIF(const RealVect a_center1, const RealVect a_center2, const Real a_radius, const Real a_curv, const bool a_fluidInside)
Constructor.
Definition: CD_RoundedCylinderIF.cpp:29
RealVect m_center1
Cylinder center.
Definition: CD_RoundedCylinderIF.H:64
virtual BaseIF * newImplicitFunction() const override
IF factory method.
Definition: CD_RoundedCylinderIF.cpp:64
RefCountedPtr< BaseIF > m_baseIF
Implicit function.
Definition: CD_RoundedCylinderIF.H:94