#include <ConstF.H>
|
| ConstF (amrex::ParticleReal const ds, amrex::ParticleReal const kx, amrex::ParticleReal const ky, amrex::ParticleReal const kt, int const nslice) |
|
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | operator() (PType &AMREX_RESTRICT p, amrex::ParticleReal &AMREX_RESTRICT px, amrex::ParticleReal &AMREX_RESTRICT py, amrex::ParticleReal &AMREX_RESTRICT pt, RefPart const &refpart) const |
|
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | operator() (RefPart &AMREX_RESTRICT refpart) const |
|
void | operator() (ImpactXParticleContainer &pc, int step) |
|
void | operator() (ImpactXParticleContainer::iterator &pti, RefPart &AMREX_RESTRICT ref_part) |
|
| Thick (amrex::ParticleReal const ds, int const nslice) |
|
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int | nslice () const |
|
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::ParticleReal | ds () const |
|
void | finalize () |
|
|
static constexpr auto | name = "ConstF" |
|
|
amrex::ParticleReal | m_kx |
|
amrex::ParticleReal | m_ky |
| focusing x strength in 1/m More...
|
|
amrex::ParticleReal | m_kt |
| focusing y strength in 1/m More...
|
|
◆ PType
◆ ConstF()
impactx::ConstF::ConstF |
( |
amrex::ParticleReal const |
ds, |
|
|
amrex::ParticleReal const |
kx, |
|
|
amrex::ParticleReal const |
ky, |
|
|
amrex::ParticleReal const |
kt, |
|
|
int const |
nslice |
|
) |
| |
|
inline |
A linear Constant Focusing element
- Parameters
-
ds | Segment length in m. |
kx | Focusing strength for x in 1/m. |
ky | Focusing strength for y in 1/m. |
kt | Focusing strength for t in 1/m. |
nslice | number of slices used for the application of space charge |
◆ operator()() [1/2]
This pushes a single particle, relative to the reference 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 |
◆ m_kt
amrex::ParticleReal impactx::ConstF::m_kt |
|
private |
focusing y strength in 1/m
◆ m_kx
amrex::ParticleReal impactx::ConstF::m_kx |
|
private |
◆ m_ky
amrex::ParticleReal impactx::ConstF::m_ky |
|
private |
focusing x strength in 1/m
◆ name
constexpr auto impactx::ConstF::name = "ConstF" |
|
staticconstexpr |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/impactx/checkouts/23.08/src/particles/elements/ConstF.H