WarpX
Loading...
Searching...
No Matches
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
14struct 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_
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
LatticeElementBase(std::string const &element_name)
LatticeElementBase constructor This gets the input z extent of the element and check for its correctn...
Definition LatticeElementBase.cpp:15