#include <ChrDrift.H>
|
static constexpr auto | name = "ChrDrift" |
|
◆ PType
◆ ChrDrift()
impactx::ChrDrift::ChrDrift |
( |
amrex::ParticleReal const |
ds, |
|
|
int const |
nslice |
|
) |
| |
|
inline |
A drift with chromatic effects included
The Hamiltonian is expanded through second order in the transverse variables (x,px,y,py), with the exact pt dependence retained.
- Parameters
-
ds | Segment length in m |
nslice | number of slices used for the application of space charge |
◆ operator()() [1/2]
This is a chrdrift functor, so that a variable of this type can be used like a chrdrift 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 |
◆ name
constexpr auto impactx::ChrDrift::name = "ChrDrift" |
|
staticconstexpr |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/impactx/checkouts/23.09/src/particles/elements/ChrDrift.H