ImpactX
Loading...
Searching...
No Matches
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 "Empty.H"
24#include "ExactCFbend.H"
25#include "ExactDrift.H"
26#include "ExactMultipole.H"
27#include "ExactQuad.H"
28#include "ExactSbend.H"
29#include "Kicker.H"
30#include "LinearMap.H"
31#include "Marker.H"
32#include "Multipole.H"
33#include "NonlinearLens.H"
34#include "PlaneXYRot.H"
35#include "Programmable.H"
36#include "PRot.H"
37#include "Quad.H"
38#include "QuadEdge.H"
39#include "RFCavity.H"
40#include "Sbend.H"
41#include "ShortRF.H"
42#include "SoftSol.H"
43#include "SoftQuad.H"
44#include "Sol.H"
45#include "Source.H"
46#include "TaperedPL.H"
47#include "ThinDipole.H"
49
50#include <variant>
51
52
54{
55 using KnownElements = std::variant<
56 Empty, /* must be first, so KnownElements creates a default constructor */
58 Buncher,
59 CFbend,
60 ChrAcc,
63 ChrQuad,
64 ConstF,
66 DipEdge,
67 Drift,
73 Kicker,
75 Marker,
80 PRot,
81 Quad,
84 Sbend,
85 ShortRF,
88 Sol,
89 Source,
92 >;
93
94} // namespace impactx
95
96#endif // IMPACTX_ELEMENTS_ALL_H
Definition All.H:54
std::variant< Empty, Aperture, Buncher, CFbend, ChrAcc, ChrDrift, ChrPlasmaLens, ChrQuad, ConstF, diagnostics::BeamMonitor, DipEdge, Drift, ExactCFbend, ExactDrift, ExactMultipole, ExactQuad, ExactSbend, Kicker, LinearMap, Marker, Multipole, NonlinearLens, PlaneXYRot, Programmable, PRot, Quad, QuadEdge, RFCavity, Sbend, ShortRF, SoftSolenoid, SoftQuadrupole, Sol, Source, TaperedPL, ThinDipole > KnownElements
Definition All.H:55
Definition Aperture.H:41
Definition Buncher.H:42
Definition CFbend.H:44
Definition ChrUniformAcc.H:42
Definition ChrDrift.H:42
Definition ChrPlasmaLens.H:42
Definition ChrQuad.H:42
Definition ConstF.H:42
Definition DipEdge.H:42
Definition Drift.H:43
Definition Empty.H:33
Definition ExactCFbend.H:68
Definition ExactDrift.H:42
Definition ExactMultipole.H:74
Definition ExactQuad.H:43
Definition ExactSbend.H:42
Definition Kicker.H:41
Definition LinearMap.H:38
Definition Marker.H:32
Definition Multipole.H:43
Definition NonlinearLens.H:43
Definition PRot.H:40
Definition PlaneXYRot.H:44
Definition Programmable.H:35
Definition QuadEdge.H:40
Definition Quad.H:45
Definition RFCavity.H:116
Definition Sbend.H:43
Definition ShortRF.H:39
Definition SoftQuad.H:125
Definition SoftSol.H:130
Definition Sol.H:44
Definition Source.H:30
Definition TaperedPL.H:42
Definition ThinDipole.H:40