chombo-discharge
Loading...
Searching...
No Matches
CD_ProfileCylinderIF.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_PROFILECYLINDERIF_H
14#define CD_PROFILECYLINDERIF_H
15
16// Chombo includes
17#include <BaseIF.H>
18
19// Our includes
20#include <CD_NamespaceHeader.H>
21
27class ProfileCylinderIF : public BaseIF
28{
29public:
34
50 const RealVect& a_endPoint2,
54 const Real a_ccDistance,
55 const Real a_shift,
57 const int a_numLeft,
58 const int a_numRight,
59 const bool a_fluidInside);
60
66
71
77 virtual Real
78 value(const RealVect& a_pos) const override;
79
84 virtual BaseIF*
85 newImplicitFunction() const override;
86
87protected:
92};
93
94#include <CD_NamespaceFooter.H>
95
96#endif
Implicit function which takes the form of a cylinder with a surface profiles (grooves).
Definition CD_ProfileCylinderIF.H:28
ProfileCylinderIF()=delete
No weak construction, use the full constructor.
virtual BaseIF * newImplicitFunction() const override
Factory method.
Definition CD_ProfileCylinderIF.cpp:111
virtual ~ProfileCylinderIF()
Destructor (does nothing)
RefCountedPtr< BaseIF > m_baseIF
Implicit function. This is an intersection between a cylinder and several torii.
Definition CD_ProfileCylinderIF.H:91
virtual Real value(const RealVect &a_pos) const override
Value function. Returns distance to object.
Definition CD_ProfileCylinderIF.cpp:105
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition CD_TracerParticleSolver.H:38