#include <Aperture.H>
|
static constexpr auto | name = "Aperture" |
|
◆ PType
◆ Shape
Enumerator |
---|
rectangular | |
elliptical | |
◆ Aperture()
impactx::Aperture::Aperture |
( |
amrex::ParticleReal |
xmax, |
|
|
amrex::ParticleReal |
ymax, |
|
|
Shape |
shape |
|
) |
| |
|
inline |
A thin collimator element that applies a transverse aperture boundary. Particles outside the boundary are considered lost.
- Parameters
-
shape | aperture shape |
xmax | maximum value of horizontal coordinate (m) |
ymax | maximum value of vertical coordinate (m) |
◆ operator()()
This is an aperture functor, so that a variable of this type can be used like an aperture 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) |
◆ m_shape
Shape impactx::Aperture::m_shape |
|
private |
◆ m_xmax
amrex::ParticleReal impactx::Aperture::m_xmax |
|
private |
aperture type (rectangular, elliptical)
◆ m_ymax
amrex::ParticleReal impactx::Aperture::m_ymax |
|
private |
maximum horizontal coordinate
◆ name
constexpr auto impactx::Aperture::name = "Aperture" |
|
staticconstexpr |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/impactx/checkouts/23.12/src/particles/elements/Aperture.H