#include <PRot.H>
◆ 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
-
p | Particle AoS data for positions and cpu/id |
px | particle momentum in x |
py | particle momentum in y |
pt | particle momentum in t |
refpart | reference particle |
◆ degree2rad
◆ m_phi_in
amrex::ParticleReal impactx::PRot::m_phi_in |
|
private |
◆ m_phi_out
amrex::ParticleReal impactx::PRot::m_phi_out |
|
private |
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.02/src/particles/elements/PRot.H