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;
59 #endif // WARPX_ACCELERATORLATTICE_LATTICEELEMENTS_LATTICEELEMENTBASE_H_
~LatticeElementBase()=default
std::vector< amrex::ParticleReal > h_zs
Definition: LatticeElementBase.H:50
int nelements
Definition: LatticeElementBase.H:47
amrex::Gpu::DeviceVector< amrex::ParticleReal > d_ze
Definition: LatticeElementBase.H:55
std::vector< amrex::ParticleReal > h_ze
Definition: LatticeElementBase.H:51
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
amrex::Gpu::DeviceVector< amrex::ParticleReal > d_zs
Definition: LatticeElementBase.H:54
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
std::string m_element_name
Definition: LatticeElementBase.H:45
void WriteToDeviceBase()
Write the base element information to the device.
Definition: LatticeElementBase.cpp:36
Definition: LatticeElementBase.H:17