|
WarpX
|
Functor that can be used to assign the external B field to a particle inside a ParallelFor kernel. More...
#include <GetExternalFields.H>
Public Member Functions | |
| GetExternalBField ()=default | |
| GetExternalBField (const WarpXParIter &a_pti, int a_offset=0) noexcept | |
Public Member Functions inherited from GetExternalField | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | operator() (long i, amrex::ParticleReal &field_x, amrex::ParticleReal &field_y, amrex::ParticleReal &field_z) const noexcept |
Additional Inherited Members | |
Public Attributes inherited from GetExternalField | |
| ExternalFieldInitType | m_type |
| amrex::GpuArray< amrex::ParticleReal, 3 > | m_field_value |
| HostDeviceParser< 4 > | m_xfield_partparser |
| HostDeviceParser< 4 > | m_yfield_partparser |
| HostDeviceParser< 4 > | m_zfield_partparser |
| GetParticlePosition | m_get_position |
| amrex::Real | m_time |
Functor that can be used to assign the external B field to a particle inside a ParallelFor kernel.
|
default |
|
noexcept |
1.8.13