7 #ifndef WARPX_ACCELERATORLATTICE_LATTICEELEMENTS_LATTICEELEMENTBASE_H_
8 #define WARPX_ACCELERATORLATTICE_LATTICEELEMENTS_LATTICEELEMENTBASE_H_
50 std::vector<amrex::ParticleReal>
h_zs;
51 std::vector<amrex::ParticleReal>
h_ze;
Definition: LatticeElementBase.H:18
std::vector< amrex::ParticleReal > h_zs
Definition: LatticeElementBase.H:50
std::string m_element_name
Definition: LatticeElementBase.H:45
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:16
void WriteToDeviceBase()
Write the base element information to the device.
Definition: LatticeElementBase.cpp:36
~LatticeElementBase()=default
amrex::Gpu::DeviceVector< amrex::ParticleReal > d_zs
Definition: LatticeElementBase.H:54
amrex::Gpu::DeviceVector< amrex::ParticleReal > d_ze
Definition: LatticeElementBase.H:55
int nelements
Definition: LatticeElementBase.H:47
void AddElementBase(amrex::ParmParse &pp_element, amrex::ParticleReal &z_location)
Read in an element base data and add it to the lists.
Definition: LatticeElementBase.cpp:22
std::vector< amrex::ParticleReal > h_ze
Definition: LatticeElementBase.H:51