chombo-discharge
Loading...
Searching...
No Matches
CD_MushroomIF.H
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2021-2026 SINTEF Energy Research
3 *
4 * SPDX-License-Identifier: GPL-3.0-or-later
5 */
6
13#ifndef CD_MUSHROOMIF_H
14#define CD_MUSHROOMIF_H
15
16// Chombo includes
17#include <BaseIF.H>
18#include <RealVect.H>
19
20// Our includes
21#include <CD_NamespaceHeader.H>
22
27class MushroomIF : public BaseIF
28{
29public:
41 const Real a_R,
42 const Real a_r,
43 const Real a_L,
44 const Real a_d,
45 const Real a_curv,
46 const bool a_fluidInside);
47
53
57 virtual ~MushroomIF();
58
64 virtual Real
65 value(const RealVect& a_pos) const override;
66
71 virtual BaseIF*
72 newImplicitFunction() const override;
73
74protected:
79
84};
85
86#include <CD_NamespaceFooter.H>
87
88#endif
"Mushroom" implicit function. Consists of a cylinder with a circular plate on top.
Definition CD_MushroomIF.H:28
virtual BaseIF * newImplicitFunction() const override
Factory function.
Definition CD_MushroomIF.cpp:69
virtual ~MushroomIF()
Destructor (does nothing)
RefCountedPtr< BaseIF > m_baseIF
Implicit function – this is a smooth union between the foot and the circular plate.
Definition CD_MushroomIF.H:78
virtual Real value(const RealVect &a_pos) const override
Value function.
Definition CD_MushroomIF.cpp:57
bool m_fluidInside
Fluid on the inside or not.
Definition CD_MushroomIF.H:83
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition CD_TracerParticleSolver.H:38