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 "ChrPlasmaLens.H"
18 #include "ChrQuad.H"
19 #include "ChrUniformAcc.H"
20 #include "ConstF.H"
21 #include "DipEdge.H"
22 #include "Drift.H"
23 #include "ExactDrift.H"
24 #include "ExactSbend.H"
25 #include "Kicker.H"
26 #include "Multipole.H"
27 #include "None.H"
28 #include "NonlinearLens.H"
29 #include "Programmable.H"
30 #include "Quad.H"
31 #include "RFCavity.H"
32 #include "Sbend.H"
33 #include "ShortRF.H"
34 #include "Sol.H"
35 #include "PRot.H"
36 #include "SoftSol.H"
37 #include "SoftQuad.H"
38 #include "ThinDipole.H"
39 #include "diagnostics/openPMD.H"
40 
41 #include <variant>
42 
43 
44 namespace impactx
45 {
46  using KnownElements = std::variant<
47  None, /* must be first, so KnownElements creates a default constructor */
48  Aperture,
49  Buncher,
50  CFbend,
51  ChrAcc,
52  ChrDrift,
54  ChrQuad,
55  ConstF,
57  DipEdge,
58  Drift,
59  ExactDrift,
60  ExactSbend,
61  Kicker,
62  Multipole,
65  PRot,
66  Quad,
67  RFCavity,
68  Sbend,
69  ShortRF,
72  Sol,
74  >;
75 
76 } // namespace impactx
77 
78 #endif // IMPACTX_ELEMENTS_ALL_H
Definition: ImpactX.cpp:33
std::variant< None, Aperture, Buncher, CFbend, ChrAcc, ChrDrift, ChrPlasmaLens, 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:74
Definition: Aperture.H:32
Definition: Buncher.H:32
Definition: CFbend.H:33
Definition: ChrUniformAcc.H:32
Definition: ChrDrift.H:32
Definition: ChrPlasmaLens.H:32
Definition: ChrQuad.H:33
Definition: ConstF.H:32
Definition: DipEdge.H:32
Definition: Drift.H:32
Definition: ExactDrift.H:32
Definition: ExactSbend.H:34
Definition: Kicker.H:32
Definition: Multipole.H:32
Definition: None.H:26
Definition: NonlinearLens.H:32
Definition: PRot.H:33
Definition: Programmable.H:25
Definition: Quad.H:32
Definition: RFCavity.H:108
Definition: Sbend.H:33
Definition: ShortRF.H:32
Definition: SoftQuad.H:117
Definition: SoftSol.H:122
Definition: Sol.H:33
Definition: ThinDipole.H:29
Definition: openPMD.H:64