#include <HardEdgedPlasmaLens.H>
|
| 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.
|
| |
◆ get_field()
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void HardEdgedPlasmaLensDevice::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 |
|
inline |
Fetch the field of the specified element at the given location.
- Parameters
-
| [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 |
◆ InitHardEdgedPlasmaLensDevice()
| void HardEdgedPlasmaLensDevice::InitHardEdgedPlasmaLensDevice |
( |
HardEdgedPlasmaLens const & | h_plasmalens | ) |
|
Initializes the data and pointer needed to reference the lattice element info.
- Parameters
-
| [in] | h_plasmalens | host level instance that this is associated with |
◆ d_dBdx_arr
| const amrex::ParticleReal* AMREX_RESTRICT HardEdgedPlasmaLensDevice::d_dBdx_arr |
◆ d_dEdx_arr
| const amrex::ParticleReal* AMREX_RESTRICT HardEdgedPlasmaLensDevice::d_dEdx_arr |
◆ d_ze_arr
| const amrex::ParticleReal* AMREX_RESTRICT HardEdgedPlasmaLensDevice::d_ze_arr |
◆ d_zs_arr
| const amrex::ParticleReal* AMREX_RESTRICT HardEdgedPlasmaLensDevice::d_zs_arr |
◆ nelements
| int HardEdgedPlasmaLensDevice::nelements = 0 |
The documentation for this struct was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/6102/Source/AcceleratorLattice/LatticeElements/HardEdgedPlasmaLens.H
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/6102/Source/AcceleratorLattice/LatticeElements/HardEdgedPlasmaLens.cpp