#include <None.H>
|
static constexpr auto | name = "None" |
|
◆ PType
◆ None()
This element does nothing.
◆ ds()
Return the segment length
- Returns
- zero, because this is a zero-length element
◆ nslice()
Number of slices used for the application of space charge
- Returns
- one, because this is a zero-length element
◆ operator()() [1/2]
Does nothing to a particle.
- 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::None::name = "None" |
|
static |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/impactx/checkouts/22.11/src/particles/elements/None.H