chombo-discharge
Loading...
Searching...
No Matches
CD_MechanicalShaft.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_MECHANICALSHAFT_H
14#define CD_MECHANICALSHAFT_H
15
16// Our includes
18#include <CD_EBGeometryIF.H>
19#include <CD_NamespaceHeader.H>
20
25{
26public:
30 MechanicalShaft() noexcept;
31
35 virtual ~MechanicalShaft() noexcept;
36
37protected:
41 virtual void
42 defineElectrode() noexcept;
43
47 virtual void
48 defineDielectric() noexcept;
49
54 virtual std::shared_ptr<EBGeometry::ImplicitFunction<Real>>
55 getSimpleCylinder() const noexcept;
56
61 virtual std::shared_ptr<EBGeometry::ImplicitFunction<Real>>
62 getPolygon() const noexcept;
63
68 virtual std::shared_ptr<EBGeometry::ImplicitFunction<Real>>
69 getCircularProfiles() const noexcept;
70};
71
72#include <CD_NamespaceFooter.H>
73
74#endif
Declaration of base class for defining geometries.
Binding of EBGeometry signed distance functions to Chombo objects.
Abstract base class for geometries.
Definition CD_ComputationalGeometry.H:37
Mechanical shaft class. Consists of a single ring electrode and an infinitely long> shaft with variou...
Definition CD_MechanicalShaft.H:25
virtual std::shared_ptr< EBGeometry::ImplicitFunction< Real > > getCircularProfiles() const noexcept
Get a profiled shaft oriented along the z-axis.
Definition CD_MechanicalShaft.cpp:304
virtual void defineDielectric() noexcept
Define the dielectric.
Definition CD_MechanicalShaft.cpp:170
virtual ~MechanicalShaft() noexcept
Destructor.
Definition CD_MechanicalShaft.cpp:68
virtual std::shared_ptr< EBGeometry::ImplicitFunction< Real > > getPolygon() const noexcept
Get a polygonal shaft oriented along the z-axis.
Definition CD_MechanicalShaft.cpp:264
MechanicalShaft() noexcept
Constructor. Does nothing.
Definition CD_MechanicalShaft.cpp:40
virtual std::shared_ptr< EBGeometry::ImplicitFunction< Real > > getSimpleCylinder() const noexcept
Get a cylinder oriented along the z-axis.
Definition CD_MechanicalShaft.cpp:248
virtual void defineElectrode() noexcept
Define the electrode.
Definition CD_MechanicalShaft.cpp:74