ImpactX
All.H
Go to the documentation of this file.
1 /* Copyright 2022-2023 The Regents of the University of California, through Lawrence
2  * Berkeley National Laboratory (subject to receipt of any required
3  * approvals from the U.S. Dept. of Energy). All rights reserved.
4  *
5  * This file is part of ImpactX.
6  *
7  * Authors: Axel Huebl
8  * License: BSD-3-Clause-LBNL
9  */
10 #ifndef IMPACTX_ELEMENTS_ALL_H
11 #define IMPACTX_ELEMENTS_ALL_H
12 
13 #include "Aperture.H"
14 #include "Buncher.H"
15 #include "CFbend.H"
16 #include "ChrDrift.H"
17 #include "ChrQuad.H"
18 #include "ChrUniformAcc.H"
19 #include "ConstF.H"
20 #include "DipEdge.H"
21 #include "Drift.H"
22 #include "ExactDrift.H"
23 #include "ExactSbend.H"
24 #include "Kicker.H"
25 #include "Multipole.H"
26 #include "None.H"
27 #include "NonlinearLens.H"
28 #include "Programmable.H"
29 #include "Quad.H"
30 #include "RFCavity.H"
31 #include "Sbend.H"
32 #include "ShortRF.H"
33 #include "Sol.H"
34 #include "PRot.H"
35 #include "SoftSol.H"
36 #include "SoftQuad.H"
37 #include "ThinDipole.H"
38 #include "diagnostics/openPMD.H"
39 
40 #include <variant>
41 
42 
43 namespace impactx
44 {
45  using KnownElements = std::variant<
46  None, /* must be first, so KnownElements creates a default constructor */
47  Aperture,
48  Buncher,
49  CFbend,
50  ChrAcc,
51  ChrDrift,
52  ChrQuad,
53  ConstF,
55  DipEdge,
56  Drift,
57  ExactDrift,
58  ExactSbend,
59  Kicker,
60  Multipole,
63  PRot,
64  Quad,
65  RFCavity,
66  Sbend,
67  ShortRF,
70  Sol,
72  >;
73 
74 } // namespace impactx
75 
76 #endif // IMPACTX_ELEMENTS_ALL_H
Definition: ImpactX.cpp:34
std::variant< None, Aperture, Buncher, CFbend, ChrAcc, ChrDrift, ChrQuad, ConstF, diagnostics::BeamMonitor, DipEdge, Drift, ExactDrift, ExactSbend, Kicker, Multipole, NonlinearLens, Programmable, PRot, Quad, RFCavity, Sbend, ShortRF, SoftSolenoid, SoftQuadrupole, Sol, ThinDipole > KnownElements
Definition: All.H:72
Definition: Aperture.H:31
Definition: Buncher.H:30
Definition: CFbend.H:30
Definition: ChrUniformAcc.H:30
Definition: ChrDrift.H:30
Definition: ChrQuad.H:31
Definition: ConstF.H:30
Definition: DipEdge.H:30
Definition: Drift.H:30
Definition: ExactDrift.H:30
Definition: ExactSbend.H:31
Definition: Kicker.H:30
Definition: Multipole.H:30
Definition: None.H:26
Definition: NonlinearLens.H:30
Definition: PRot.H:32
Definition: Programmable.H:25
Definition: Quad.H:30
Definition: RFCavity.H:106
Definition: Sbend.H:30
Definition: ShortRF.H:30
Definition: SoftQuad.H:115
Definition: SoftSol.H:120
Definition: Sol.H:30
Definition: ThinDipole.H:27
Definition: openPMD.H:64