7#ifndef WARPX_ACCELERATORLATTICE_LATTICEELEMENTS_LATTICEELEMENTBASE_H_
8#define WARPX_ACCELERATORLATTICE_LATTICEELEMENTS_LATTICEELEMENTBASE_H_
48 std::vector<amrex::ParticleReal>
h_zs;
49 std::vector<amrex::ParticleReal>
h_ze;
PODVector< T, ArenaAllocator< T > > DeviceVector
std::vector< amrex::ParticleReal > h_zs
Definition LatticeElementBase.H:48
std::string m_element_name
Definition LatticeElementBase.H:43
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
void WriteToDeviceBase()
Write the base element information to the device.
Definition LatticeElementBase.cpp:33
amrex::Gpu::DeviceVector< amrex::ParticleReal > d_zs
Definition LatticeElementBase.H:52
amrex::Gpu::DeviceVector< amrex::ParticleReal > d_ze
Definition LatticeElementBase.H:53
int nelements
Definition LatticeElementBase.H:45
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:19
std::vector< amrex::ParticleReal > h_ze
Definition LatticeElementBase.H:49