|
ImpactX
|
#include <ToFixedT.H>
Public Types | |
| using | PType = ImpactXParticleContainer::ParticleType |
Public Member Functions | |
| ToFixedT (amrex::ParticleReal const ptd) | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | operator() (amrex::ParticleReal &x, amrex::ParticleReal &y, amrex::ParticleReal &t, amrex::ParticleReal &px, amrex::ParticleReal &py, amrex::ParticleReal &pt) const |
Private Attributes | |
| amrex::ParticleReal | m_ptd |
| Design value of pt/mc2 = -gamma. | |
|
inline |
Transformation of particles from fixed location s to fixed time t.
At fixed t, each particle is represented by phase space coordinates (x,y,z,px,py,pz).
| ptd | Design value of pt/mc2 = -gamma. |
|
inline |
This is a s-to-t map, so that a variable of this type can be used like a s-to-t function.
| [in,out] | x | particle position in x |
| [in,out] | y | particle position in y |
| [in,out] | t | particle position in t (in), in z (out) |
| [in,out] | px | particle momentum in x |
| [in,out] | py | particle momentum in y |
| [in,out] | pt | particle momentum in t (in), in z (out) |
|
private |
Design value of pt/mc2 = -gamma.