#include <PRot.H>
|
| PRot (amrex::ParticleReal phi_in, amrex::ParticleReal phi_out) |
|
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | operator() (amrex::ParticleReal &AMREX_RESTRICT x, amrex::ParticleReal &AMREX_RESTRICT y, amrex::ParticleReal &AMREX_RESTRICT t, amrex::ParticleReal &AMREX_RESTRICT px, amrex::ParticleReal &AMREX_RESTRICT py, amrex::ParticleReal &AMREX_RESTRICT pt, [[maybe_unused]] uint64_t &AMREX_RESTRICT idcpu, RefPart const &refpart) const |
|
void | operator() (ImpactXParticleContainer &pc, int step) |
|
void | operator() (ImpactXParticleContainer::iterator &pti, RefPart &AMREX_RESTRICT ref_part) |
|
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | operator() ([[maybe_unused]] RefPart &AMREX_RESTRICT refpart) const |
|
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int | nslice () const |
|
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::ParticleReal | ds () const |
|
void | finalize () |
|
◆ PType
◆ PRot()
impactx::PRot::PRot |
( |
amrex::ParticleReal |
phi_in, |
|
|
amrex::ParticleReal |
phi_out |
|
) |
| |
|
inline |
An exact pole face rotation in the x-z plane, from a frame in which the reference orbit has angle phi_in with the z-axis, to a frame in which the reference orbit has angle phi_out with the z-axis. The net rotation angle is phi_out - phi_in.
- Parameters
-
phi_in | Initial angle of reference trajectory w/r/t z (degrees) |
phi_out | Final angle of reference trajectory w/r/t/ z (degrees) |
◆ operator()()
This is a prot functor, so that a variable of this type can be used like a prot function.
- Parameters
-
x | particle position in x |
y | particle position in y |
t | particle position in t |
px | particle momentum in x |
py | particle momentum in y |
pt | particle momentum in t |
idcpu | particle global index (unused) |
refpart | reference particle |
◆ degree2rad
◆ m_phi_in
amrex::ParticleReal impactx::PRot::m_phi_in |
◆ m_phi_out
amrex::ParticleReal impactx::PRot::m_phi_out |
normalized (max) RF voltage drop.
◆ name
constexpr auto impactx::PRot::name = "PRot" |
|
staticconstexpr |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/impactx/checkouts/24.03/src/particles/elements/PRot.H