#include <ShortRF.H>
|
static constexpr auto | name = "ShortRF" |
|
|
amrex::ParticleReal | m_V |
|
amrex::ParticleReal | m_k |
| normalized (max) RF voltage drop. More...
|
|
◆ PType
◆ ShortRF()
impactx::ShortRF::ShortRF |
( |
amrex::ParticleReal const |
V, |
|
|
amrex::ParticleReal const |
k |
|
) |
| |
|
inline |
A short RF cavity element at zero crossing for bunching
- Parameters
-
V | Normalized RF voltage drop V = Emax*L/(c*Brho) |
k | Wavenumber of RF in 1/m |
◆ ds()
Return the segment length
- Returns
- zero, because this is a zero-length element
◆ nslice()
Number of slices used for the application of space charge
- Returns
- one, because this is a zero-length element
◆ operator()() [1/2]
This is a shortrf functor, so that a variable of this type can be used like a shortrf 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 |
◆ operator()() [2/2]
This pushes the reference particle.
- Parameters
-
[in,out] | refpart | reference particle |
◆ m_k
amrex::ParticleReal impactx::ShortRF::m_k |
|
private |
normalized (max) RF voltage drop.
◆ m_V
amrex::ParticleReal impactx::ShortRF::m_V |
|
private |
◆ name
constexpr auto impactx::ShortRF::name = "ShortRF" |
|
static |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/impactx/checkouts/23.01/src/particles/elements/ShortRF.H