#include <NonlinearLens.H>
|
static constexpr auto | name = "NonlinearLens" |
|
|
amrex::ParticleReal | m_knll |
|
amrex::ParticleReal | m_cnll |
| integrated strength of the nonlinear lens (m) More...
|
|
◆ PType
◆ NonlinearLens()
impactx::NonlinearLens::NonlinearLens |
( |
amrex::ParticleReal const |
knll, |
|
|
amrex::ParticleReal const |
cnll |
|
) |
| |
|
inline |
Single short segment of the nonlinear magnetic insert element
A thin lens associated with a single short segment of the nonlinear magnetic insert described by V. Danilov and S. Nagaitsev, PRSTAB 13, 084002 (2010), Sect. V.A. This element appears in MAD-X as type NLLENS.
- Parameters
-
knll | integrated strength of the nonlinear lens (m) |
cnll | distance of singularities from the origin (m) |
◆ 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]
This is a nonlinear lens functor, so that a variable of this type can be used like a nonlinear lens function.
- 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 (unused) |
◆ operator()() [2/2]
This pushes the reference particle.
- Parameters
-
[in,out] | refpart | reference particle |
◆ m_cnll
amrex::ParticleReal impactx::NonlinearLens::m_cnll |
|
private |
integrated strength of the nonlinear lens (m)
◆ m_knll
amrex::ParticleReal impactx::NonlinearLens::m_knll |
|
private |
◆ name
constexpr auto impactx::NonlinearLens::name = "NonlinearLens" |
|
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/NonlinearLens.H