#include <None.H>
◆ None()
impactx::distribution::None::None |
( |
| ) |
|
|
inline |
This distribution sets all values to zero.
◆ finalize()
void impactx::distribution::None::finalize |
( |
| ) |
|
|
inline |
Close and deallocate all data and handles.
Nothing to do here.
◆ initialize()
void impactx::distribution::None::initialize |
( |
[[maybe_unused] ] amrex::ParticleReal |
bunch_charge, |
|
|
[[maybe_unused] ] RefPart const & |
ref |
|
) |
| |
|
inline |
Initialize the distribution.
Nothing to do here.
- Parameters
-
bunch_charge | charge of the beam in C |
ref | the reference particle |
◆ operator()()
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void impactx::distribution::None::operator() |
( |
amrex::ParticleReal & |
x, |
|
|
amrex::ParticleReal & |
y, |
|
|
amrex::ParticleReal & |
t, |
|
|
amrex::ParticleReal & |
px, |
|
|
amrex::ParticleReal & |
py, |
|
|
amrex::ParticleReal & |
pt, |
|
|
[[maybe_unused] ] amrex::RandomEngine const & |
engine |
|
) |
| const |
|
inline |
Return 1 6D particle coordinate
Sets all values to zero.
- Parameters
-
x | particle position in x |
y | particle position in y |
t | particle position in t |
px | particle momentum in x |
py | particle momentum in y |
pt | particle momentum in t |
engine | a random number engine (with associated state) |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/impactx/checkouts/stable/src/particles/distribution/None.H