#include <ToFixedS.H>
|
amrex::ParticleReal | m_pzd |
| Design value of pz/mc = beta*gamma. More...
|
|
◆ PType
◆ ToFixedS()
impactx::transformation::ToFixedS::ToFixedS |
( |
amrex::ParticleReal const |
pzd | ) |
|
|
inline |
Transformation of particles from fixed time t to fixed location s.
At fixed s, each particle is represented by phase space coordinates (x,y,t,px,py,pt).
- Parameters
-
pzd | Design value of pz/mc = beta*gamma. |
◆ operator()()
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void impactx::transformation::ToFixedS::operator() |
( |
amrex::ParticleReal & |
x, |
|
|
amrex::ParticleReal & |
y, |
|
|
amrex::ParticleReal & |
z, |
|
|
amrex::ParticleReal & |
px, |
|
|
amrex::ParticleReal & |
py, |
|
|
amrex::ParticleReal & |
pz |
|
) |
| const |
|
inline |
This is a t-to-s map, so that a variable of this type can be used like a t-to-s function.
- Parameters
-
[in,out] | x | particle position in x |
[in,out] | y | particle position in y |
[in,out] | z | particle position in z (in), in t (out) |
[in,out] | px | particle momentum in x |
[in,out] | py | particle momentum in y |
[in,out] | pz | particle momentum in z (in), in t (out) |
◆ m_pzd
amrex::ParticleReal impactx::transformation::ToFixedS::m_pzd |
|
private |
Design value of pz/mc = beta*gamma.
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/impactx/checkouts/24.04/src/particles/transformation/ToFixedS.H