Functor that scales E and B by a factor before pushing the particles. This is used for rigid injection.
More...
#include <ScaleFields.H>
|
| ScaleFields (bool do_scale) noexcept |
|
| ScaleFields (bool do_scale, amrex::Real dt, amrex::Real z_plane_previous, amrex::Real vz_ave_boosted, amrex::Real v_boost) noexcept |
|
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | operator() (amrex::ParticleReal, amrex::ParticleReal, amrex::ParticleReal zp, amrex::ParticleReal &Exp, amrex::ParticleReal &Eyp, amrex::ParticleReal &Ezp, amrex::ParticleReal &Bxp, amrex::ParticleReal &Byp, amrex::ParticleReal &Bzp) const noexcept |
|
Functor that scales E and B by a factor before pushing the particles. This is used for rigid injection.
◆ ScaleFields() [1/2]
ScaleFields::ScaleFields |
( |
bool |
do_scale | ) |
|
|
inlinenoexcept |
◆ ScaleFields() [2/2]
ScaleFields::ScaleFields |
( |
bool |
do_scale, |
|
|
amrex::Real |
dt, |
|
|
amrex::Real |
z_plane_previous, |
|
|
amrex::Real |
vz_ave_boosted, |
|
|
amrex::Real |
v_boost |
|
) |
| |
|
inlinenoexcept |
◆ operator()()
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void ScaleFields::operator() |
( |
amrex::ParticleReal |
, |
|
|
amrex::ParticleReal |
, |
|
|
amrex::ParticleReal |
zp, |
|
|
amrex::ParticleReal & |
Exp, |
|
|
amrex::ParticleReal & |
Eyp, |
|
|
amrex::ParticleReal & |
Ezp, |
|
|
amrex::ParticleReal & |
Bxp, |
|
|
amrex::ParticleReal & |
Byp, |
|
|
amrex::ParticleReal & |
Bzp |
|
) |
| const |
|
inlinenoexcept |
◆ m_do_scale
bool ScaleFields::m_do_scale |
◆ m_dt
amrex::Real ScaleFields::m_dt |
◆ m_v_boost
amrex::Real ScaleFields::m_v_boost |
◆ m_vz_ave_boosted
amrex::Real ScaleFields::m_vz_ave_boosted |
◆ m_z_plane_previous
amrex::Real ScaleFields::m_z_plane_previous |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/latest/Source/Particles/Gather/ScaleFields.H