#include <Programmable.H>
|
static constexpr auto | name = "Programmable" |
|
◆ PType
◆ Programmable()
impactx::Programmable::Programmable |
( |
| ) |
|
|
inline |
This element writes the particle beam out to openPMD data.
◆ ds()
Return the segment length
- Returns
- value in meters
◆ nslice()
Number of slices used for the application of space charge
- Returns
- positive integer
◆ operator()() [1/2]
Push all particles relative to the reference particle
◆ operator()() [2/2]
void impactx::Programmable::operator() |
( |
RefPart & |
refpart | ) |
const |
This pushes the reference particle.
- Parameters
-
[in,out] | refpart | reference particle |
◆ m_beam_particles
number of slices used for the application of space charge
◆ m_ds
amrex::ParticleReal impactx::Programmable::m_ds = 0.0 |
◆ m_nslice
int impactx::Programmable::m_nslice = 1 |
◆ m_ref_particle
std::function<void(RefPart &)> impactx::Programmable::m_ref_particle |
◆ name
constexpr auto impactx::Programmable::name = "Programmable" |
|
static |
The documentation for this struct was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/impactx/checkouts/23.02/src/particles/elements/Programmable.H
- /home/docs/checkouts/readthedocs.org/user_builds/impactx/checkouts/23.02/src/particles/elements/Programmable.cpp