WarpX
Source
AcceleratorLattice
LatticeElements
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
15
:
LatticeElementBase
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_
LatticeElementBase.H
amrex::ParmParse
Drift
Definition:
Drift.H:16
Drift::AddElement
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::Drift
Drift()
Definition:
Drift.cpp:13
LatticeElementBase
Definition:
LatticeElementBase.H:18
Generated by
1.9.1