#include <LatticeElementBase.H>
◆ LatticeElementBase()
LatticeElementBase::LatticeElementBase |
( |
std::string const & |
element_name | ) |
|
LatticeElementBase constructor This gets the input z extent of the element and check for its correctness.
- Parameters
-
[in] | element_name | the name of the element type |
◆ AddElementBase()
void LatticeElementBase::AddElementBase |
( |
amrex::ParmParse & |
pp_element, |
|
|
amrex::ParticleReal & |
z_location |
|
) |
| |
Read in an element base data and add it to the lists.
- Parameters
-
[in] | pp_element | The ParmParse instance to read in the data |
[in,out] | z_location | The current z location in the lattice |
◆ WriteToDeviceBase()
void LatticeElementBase::WriteToDeviceBase |
( |
| ) |
|
Write the base element information to the device.
◆ d_ze
◆ d_zs
◆ h_ze
std::vector<amrex::ParticleReal> LatticeElementBase::h_ze |
◆ h_zs
std::vector<amrex::ParticleReal> LatticeElementBase::h_zs |
◆ m_element_name
std::string LatticeElementBase::m_element_name |
◆ nelements
int LatticeElementBase::nelements = 0 |
The documentation for this struct was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/latest/Source/AcceleratorLattice/LatticeElements/LatticeElementBase.H
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/latest/Source/AcceleratorLattice/LatticeElements/LatticeElementBase.cpp