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 "Buncher.H"
14 #include "CFbend.H"
15 #include "ChrDrift.H"
16 #include "ChrQuad.H"
17 #include "ChrUniformAcc.H"
18 #include "ConstF.H"
19 #include "DipEdge.H"
20 #include "Drift.H"
21 #include "ExactDrift.H"
22 #include "ExactSbend.H"
23 #include "Kicker.H"
24 #include "Multipole.H"
25 #include "None.H"
26 #include "NonlinearLens.H"
27 #include "Programmable.H"
28 #include "Quad.H"
29 #include "RFCavity.H"
30 #include "Sbend.H"
31 #include "ShortRF.H"
32 #include "Sol.H"
33 #include "PRot.H"
34 #include "SoftSol.H"
35 #include "SoftQuad.H"
36 #include "diagnostics/openPMD.H"
37 
38 #include <variant>
39 
40 
41 namespace impactx
42 {
43  using KnownElements = std::variant<
44  None, /* must be first, so KnownElements creates a default constructor */
45  Buncher,
46  CFbend,
47  ChrAcc,
48  ChrDrift,
49  ChrQuad,
50  ConstF,
52  DipEdge,
53  Drift,
54  ExactDrift,
55  ExactSbend,
56  Kicker,
57  Multipole,
60  PRot,
61  Quad,
62  RFCavity,
63  Sbend,
64  ShortRF,
67  Sol
68  >;
69 
70 } // namespace impactx
71 
72 #endif // IMPACTX_ELEMENTS_ALL_H
Definition: ImpactX.cpp:32
std::variant< None, Buncher, CFbend, ChrAcc, ChrDrift, ChrQuad, ConstF, diagnostics::BeamMonitor, DipEdge, Drift, ExactDrift, ExactSbend, Kicker, Multipole, NonlinearLens, Programmable, PRot, Quad, RFCavity, Sbend, ShortRF, SoftSolenoid, SoftQuadrupole, Sol > KnownElements
Definition: All.H:68
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: openPMD.H:64