chombo-discharge
Loading...
Searching...
No Matches
CD_MechanicalShaft.H
Go to the documentation of this file.
1/* chombo-discharge
2 * Copyright © 2021 SINTEF Energy Research.
3 * Please refer to Copyright.txt and LICENSE in the chombo-discharge root directory.
4 */
5
12#ifndef CD_MechanicalShaft_H
13#define CD_MechanicalShaft_H
14
15// Our includes
17#include <CD_EBGeometryIF.H>
18#include <CD_NamespaceHeader.H>
19
24{
25public:
29 MechanicalShaft() noexcept;
30
34 virtual ~MechanicalShaft() noexcept;
35
36protected:
40 virtual void
41 defineElectrode() noexcept;
42
46 virtual void
47 defineDielectric() noexcept;
48
52 virtual std::shared_ptr<EBGeometry::ImplicitFunction<Real>>
53 getSimpleCylinder() const noexcept;
54
58 virtual std::shared_ptr<EBGeometry::ImplicitFunction<Real>>
59 getPolygon() const noexcept;
60
64 virtual std::shared_ptr<EBGeometry::ImplicitFunction<Real>>
65 getCircularProfiles() const noexcept;
66};
67
68#include <CD_NamespaceFooter.H>
69
70#endif
Declaration of base class for defining geometries.
Binding of EBGeometry signed distance functions to Chombo objcts.
Abstract base class for geometries.
Definition CD_ComputationalGeometry.H:36
Mechanical shaft class. Consists of a single ring electrode and an infinitely long> shaft with variou...
Definition CD_MechanicalShaft.H:24
virtual std::shared_ptr< EBGeometry::ImplicitFunction< Real > > getCircularProfiles() const noexcept
Get a profiled shaft oriented along the z-axis.
Definition CD_MechanicalShaft.cpp:301
virtual void defineDielectric() noexcept
Define the dielectric.
Definition CD_MechanicalShaft.cpp:167
virtual ~MechanicalShaft() noexcept
Destructor.
Definition CD_MechanicalShaft.cpp:65
virtual std::shared_ptr< EBGeometry::ImplicitFunction< Real > > getPolygon() const noexcept
Get a polygonal shaft oriented along the z-axis.
Definition CD_MechanicalShaft.cpp:261
MechanicalShaft() noexcept
Constructor. Does nothing.
Definition CD_MechanicalShaft.cpp:37
virtual std::shared_ptr< EBGeometry::ImplicitFunction< Real > > getSimpleCylinder() const noexcept
Get a cylinder oriented along the z-axis.
Definition CD_MechanicalShaft.cpp:245
virtual void defineElectrode() noexcept
Define the electrode.
Definition CD_MechanicalShaft.cpp:71