|
WarpX
|
#include <HardEdgedPlasmaLens.H>
Public Member Functions | |
| void | InitHardEdgedPlasmaLensDevice (HardEdgedPlasmaLens const &h_plasmalens) |
| Initializes the data and pointer needed to reference the lattice element info. | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | get_field (const int ielement, const amrex::ParticleReal x, const amrex::ParticleReal y, const amrex::ParticleReal z, const amrex::ParticleReal zpvdt, amrex::ParticleReal &Ex, amrex::ParticleReal &Ey, amrex::ParticleReal &Bx, amrex::ParticleReal &By) const |
| Fetch the field of the specified element at the given location. | |
Public Attributes | |
| int | nelements = 0 |
| const amrex::ParticleReal *AMREX_RESTRICT | d_zs_arr |
| const amrex::ParticleReal *AMREX_RESTRICT | d_ze_arr |
| const amrex::ParticleReal *AMREX_RESTRICT | d_dEdx_arr |
| const amrex::ParticleReal *AMREX_RESTRICT | d_dBdx_arr |
|
inline |
Fetch the field of the specified element at the given location.
| [in] | ielement | the element number |
| [in] | x,y,z | the particle position in the lab frame |
| [in] | zpvdt | the estimated next particle z position, z + v*dt |
| [out] | Ex,Ey,Bx,By | the fetched field in the lab frame |
| void HardEdgedPlasmaLensDevice::InitHardEdgedPlasmaLensDevice | ( | HardEdgedPlasmaLens const & | h_plasmalens | ) |
Initializes the data and pointer needed to reference the lattice element info.
| [in] | h_plasmalens | host level instance that this is associated with |
| const amrex::ParticleReal* AMREX_RESTRICT HardEdgedPlasmaLensDevice::d_dBdx_arr |
| const amrex::ParticleReal* AMREX_RESTRICT HardEdgedPlasmaLensDevice::d_dEdx_arr |
| const amrex::ParticleReal* AMREX_RESTRICT HardEdgedPlasmaLensDevice::d_ze_arr |
| const amrex::ParticleReal* AMREX_RESTRICT HardEdgedPlasmaLensDevice::d_zs_arr |
| int HardEdgedPlasmaLensDevice::nelements = 0 |