|
ImpactX
|
#include <beamoptic.H>
Public Member Functions | |
| void | operator() (ImpactXParticleContainer &pc, int step, int period) |
| void | operator() (ImpactXParticleContainer::iterator &pti, RefPart &AMREX_RESTRICT ref_part) |
Mixin class for a regular beam optics lattice element.
This element pushes particles relative to a reference particle. All particles are pushed independently with the same logic.
|
inline |
Push first the reference particle, then all other particles
| [in,out] | pc | container of the particles to push |
| [in] | step | global step for diagnostics |
| [in] | period | for periodic lattices, this is the current period (turn or cycle) |
|
inline |
This pushes the particles on a particle iterator tile or box.
Particles are relative to the reference particle.
| [in] | pti | particle iterator for a current tile or box. |
| [in] | ref_part | reference particle |