#include <HardEdgedQuadrupole.H>
◆ get_field()
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void HardEdgedQuadrupoleDevice::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 |
◆ InitHardEdgedQuadrupoleDevice()
void HardEdgedQuadrupoleDevice::InitHardEdgedQuadrupoleDevice |
( |
HardEdgedQuadrupole const & |
h_quad | ) |
|
Initializes the data and pointer needed to reference the lattice element info.
- Parameters
-
[in] | h_quad | host level instance that this is associated with |
◆ d_dBdx_arr
const amrex::ParticleReal* AMREX_RESTRICT HardEdgedQuadrupoleDevice::d_dBdx_arr |
◆ d_dEdx_arr
const amrex::ParticleReal* AMREX_RESTRICT HardEdgedQuadrupoleDevice::d_dEdx_arr |
◆ d_ze_arr
const amrex::ParticleReal* AMREX_RESTRICT HardEdgedQuadrupoleDevice::d_ze_arr |
◆ d_zs_arr
const amrex::ParticleReal* AMREX_RESTRICT HardEdgedQuadrupoleDevice::d_zs_arr |
◆ nelements
int HardEdgedQuadrupoleDevice::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/HardEdgedQuadrupole.H
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/latest/Source/AcceleratorLattice/LatticeElements/HardEdgedQuadrupole.cpp