12 #ifndef CD_MushroomIF_H
13 #define CD_MushroomIF_H
20 #include <CD_NamespaceHeader.H>
45 const bool a_fluidInside);
63 value(
const RealVect& a_pos)
const override;
84 #include <CD_NamespaceFooter.H>
"Mushroom" implicit function. Consists of a cylinder with a circular plate on top.
Definition: CD_MushroomIF.H:27
MushroomIF(const RealVect a_center, const Real a_R, const Real a_r, const Real a_L, const Real a_d, const Real a_curv, const bool a_fluidInside)
Full constructor.
Definition: CD_MushroomIF.cpp:23
virtual BaseIF * newImplicitFunction() const override
Factory function.
Definition: CD_MushroomIF.cpp:71
virtual ~MushroomIF()
Destructor (does nothing)
Definition: CD_MushroomIF.cpp:55
RefCountedPtr< BaseIF > m_baseIF
Implicit function – this is a smooth union between the foot and the circular plate.
Definition: CD_MushroomIF.H:76
virtual Real value(const RealVect &a_pos) const override
Value function.
Definition: CD_MushroomIF.cpp:59
bool m_fluidInside
Fluid on the inside or not.
Definition: CD_MushroomIF.H:81