#include <Sol.H>
|
static constexpr auto | name = "Sol" |
|
◆ PType
◆ Sol()
impactx::Sol::Sol |
( |
amrex::ParticleReal const |
ds, |
|
|
amrex::ParticleReal const |
ks, |
|
|
int const |
nslice |
|
) |
| |
|
inline |
An ideal hard-edge Solenoid magnet
- Parameters
-
ds | Segment length in m. |
ks | Solenoid strength in m^(-1) (MADX convention) = (magnetic field Bz in T) / (rigidity in T-m) |
nslice | number of slices used for the application of space charge |
◆ operator()() [1/2]
This is a sol functor, so that a variable of this type can be used like a sol 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 |
◆ operator()() [2/2]
This pushes the reference particle.
- Parameters
-
[in,out] | refpart | reference particle |
◆ m_ks
amrex::ParticleReal impactx::Sol::m_ks |
|
private |
◆ name
constexpr auto impactx::Sol::name = "Sol" |
|
staticconstexpr |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/impactx/checkouts/23.06/src/particles/elements/Sol.H