|
WarpX
|
#include <LatticeElementBase.H>
Public Member Functions | |
| LatticeElementBase (std::string const &element_name) | |
| LatticeElementBase constructor This gets the input z extent of the element and check for its correctness. | |
| void | AddElementBase (amrex::ParmParse &pp_element, amrex::ParticleReal &z_location) |
| Read in an element base data and add it to the lists. | |
| void | WriteToDeviceBase () |
| Write the base element information to the device. | |
Public Attributes | |
| std::string | m_element_name |
| int | nelements = 0 |
| std::vector< amrex::ParticleReal > | h_zs |
| std::vector< amrex::ParticleReal > | h_ze |
| amrex::Gpu::DeviceVector< amrex::ParticleReal > | d_zs |
| amrex::Gpu::DeviceVector< amrex::ParticleReal > | d_ze |
|
explicit |
LatticeElementBase constructor This gets the input z extent of the element and check for its correctness.
| [in] | element_name | the name of the element type |
| void LatticeElementBase::AddElementBase | ( | amrex::ParmParse & | pp_element, |
| amrex::ParticleReal & | z_location ) |
Read in an element base data and add it to the lists.
| [in] | pp_element | The ParmParse instance to read in the data |
| [in,out] | z_location | The current z location in the lattice |
| void LatticeElementBase::WriteToDeviceBase | ( | ) |
Write the base element information to the device.
| amrex::Gpu::DeviceVector<amrex::ParticleReal> LatticeElementBase::d_ze |
| amrex::Gpu::DeviceVector<amrex::ParticleReal> LatticeElementBase::d_zs |
| std::vector<amrex::ParticleReal> LatticeElementBase::h_ze |
| std::vector<amrex::ParticleReal> LatticeElementBase::h_zs |
| std::string LatticeElementBase::m_element_name |
| int LatticeElementBase::nelements = 0 |