|
WarpX
|
#include <HardEdgedPlasmaLens.H>
Public Member Functions | |
| HardEdgedPlasmaLens () | |
| void | AddElement (amrex::ParmParse &pp_element, amrex::ParticleReal &z_location) |
| Read in an element and add it to the lists. | |
| void | WriteToDevice () |
| Write the element information to the device. | |
| HardEdgedPlasmaLensDevice | GetDeviceInstance () const |
| Returns the device level instance with the lattice information. | |
Public Member Functions inherited from LatticeElementBase | |
| 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::vector< amrex::ParticleReal > | h_dEdx |
| std::vector< amrex::ParticleReal > | h_dBdx |
| amrex::Gpu::DeviceVector< amrex::ParticleReal > | d_dEdx |
| amrex::Gpu::DeviceVector< amrex::ParticleReal > | d_dBdx |
Public Attributes inherited from LatticeElementBase | |
| 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 |
| HardEdgedPlasmaLens::HardEdgedPlasmaLens | ( | ) |
| void HardEdgedPlasmaLens::AddElement | ( | amrex::ParmParse & | pp_element, |
| amrex::ParticleReal & | z_location ) |
Read in an element 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 |
|
nodiscard |
Returns the device level instance with the lattice information.
| void HardEdgedPlasmaLens::WriteToDevice | ( | ) |
Write the element information to the device.
| amrex::Gpu::DeviceVector<amrex::ParticleReal> HardEdgedPlasmaLens::d_dBdx |
| amrex::Gpu::DeviceVector<amrex::ParticleReal> HardEdgedPlasmaLens::d_dEdx |
| std::vector<amrex::ParticleReal> HardEdgedPlasmaLens::h_dBdx |
| std::vector<amrex::ParticleReal> HardEdgedPlasmaLens::h_dEdx |