ImpactX
Loading...
Searching...
No Matches
Insert.H
Go to the documentation of this file.
1/* Copyright 2022-2025 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_TRANSFORM_LATTICE_INSERT_H
11#define IMPACTX_TRANSFORM_LATTICE_INSERT_H
12
13#include "elements/All.H"
14
15#include <AMReX_REAL.H>
16
17#include <list>
18
19
21{
31 std::list<elements::KnownElements>
33 std::list<elements::KnownElements> list,
34 amrex::ParticleReal ds,
36 );
37
38} // namespace impactx::elements::transformation
39
40#endif // IMPACTX_TRANSFORM_LATTICE_INSERT_H
Definition Insert.cpp:18
std::list< elements::KnownElements > insert_element_every_ds(std::list< elements::KnownElements > list, amrex::ParticleReal ds, elements::KnownElements element)
Definition Insert.cpp:20
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