|
chombo-discharge
|
"Mushroom" implicit function. Consists of a cylinder with a circular plate on top. More...
#include <CD_MushroomIF.H>


Public Member Functions | |
| 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. | |
| MushroomIF (const MushroomIF &a_inputIF) | |
| Copy constructor. | |
| virtual | ~MushroomIF () |
| Destructor (does nothing) | |
| virtual Real | value (const RealVect &a_pos) const override |
| Value function. | |
| virtual BaseIF * | newImplicitFunction () const override |
| Factory function. | |
Protected Attributes | |
| RefCountedPtr< BaseIF > | m_baseIF |
| Implicit function – this is a smooth union between the foot and the circular plate. | |
| bool | m_fluidInside |
| Fluid on the inside or not. | |
"Mushroom" implicit function. Consists of a cylinder with a circular plate on top.
Oriented along +z in 3D and +y in 2D.
| MushroomIF::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.
| [in] | a_center | Center point of the circular platew |
| [in] | a_R | Radius of the flat plate. |
| [in] | a_r | Radius of the cylinder foot |
| [in] | a_L | Length of the cylinder foot |
| [in] | a_d | Plate thickness |
| [in] | a_curv | Corner curvature |
| [in] | a_fluidInside | Fluid on inside or not |
| MushroomIF::MushroomIF | ( | const MushroomIF & | a_inputIF | ) |
Copy constructor.
| [in] | a_inputIF | Other input |
|
overridevirtual |
Factory function.
Value function.
| [in] | a_pos | Position |