WarpX
Drift.H
Go to the documentation of this file.
1 /* Copyright 2022 David Grote
2  *
3  * This file is part of WarpX.
4  *
5  * License: BSD-3-Clause-LBNL
6  */
7 #ifndef WARPX_ACCELERATORLATTICE_LATTICEELEMENTS_DRIFT_H_
8 #define WARPX_ACCELERATORLATTICE_LATTICEELEMENTS_DRIFT_H_
9 
10 #include "LatticeElementBase.H"
11 
12 // Specifies a drift
13 
14 struct Drift
16 {
17 
18  Drift ();
19 
26  void
27  AddElement (amrex::ParmParse & pp_element, amrex::ParticleReal & z_location);
28 
29 };
30 
31 #endif // WARPX_ACCELERATORLATTICE_LATTICEELEMENTS_DRIFT_H_
Definition: Drift.H:16
void AddElement(amrex::ParmParse &pp_element, amrex::ParticleReal &z_location)
Read in an element and add it to the lists.
Definition: Drift.cpp:19
Drift()
Definition: Drift.cpp:13
Definition: LatticeElementBase.H:18