|
ImpactX
|
#include <ToFixedS.H>
Public Types | |
| using | PType = ImpactXParticleContainer::ParticleType |
Public Member Functions | |
| ToFixedS (amrex::ParticleReal const pzd) | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | operator() (amrex::ParticleReal &x, amrex::ParticleReal &y, amrex::ParticleReal &z, amrex::ParticleReal &px, amrex::ParticleReal &py, amrex::ParticleReal &pz) const |
Private Attributes | |
| amrex::ParticleReal | m_pzd |
| Design value of pz/mc = beta*gamma. | |
|
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).
| pzd | Design value of pz/mc = beta*gamma. |
|
inline |
This is a t-to-s map, so that a variable of this type can be used like a t-to-s function.
| [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) |
|
private |
Design value of pz/mc = beta*gamma.