#include <ReferenceParticle.H>
|
| amrex::ParticleReal | s = 0.0 |
| | integrated orbit path length, in meters
|
| |
| amrex::ParticleReal | x = 0.0 |
| | horizontal position x, in meters
|
| |
| amrex::ParticleReal | y = 0.0 |
| | vertical position y, in meters
|
| |
| amrex::ParticleReal | z = 0.0 |
| | longitudinal position z, in meters
|
| |
| amrex::ParticleReal | t = 0.0 |
| | clock time * c in meters
|
| |
| amrex::ParticleReal | px = 0.0 |
| | momentum in x divided by m*c = beta_x*gamma [unitless]
|
| |
| amrex::ParticleReal | py = 0.0 |
| | momentum in y divided by m*c = beta_y*gamma [unitless]
|
| |
| amrex::ParticleReal | pz = 0.0 |
| | momentum in z divided by m*c = beta_z*gamma [unitless]
|
| |
| amrex::ParticleReal | pt = 0.0 |
| | energy, normalized by rest energy
|
| |
| amrex::ParticleReal | mass = 0.0 |
| | reference rest mass, in kg
|
| |
| amrex::ParticleReal | charge = 0.0 |
| | reference charge, in C
|
| |
| amrex::ParticleReal | sedge = 0.0 |
| | value of s at entrance of the current beamline element
|
| |
| amrex::SmallMatrix< amrex::ParticleReal, 6, 6, amrex::Order::F, 1 > | map {} |
| | linearized map
|
| |
This struct stores the reference particle attributes stored in ImpactXParticleContainer
◆ beta()
Get reference particle relativistic beta
- Returns
- relativistic beta
◆ beta_gamma()
Get reference particle beta*gamma
- Returns
- relativistic beta*gamma
◆ charge_qe()
Get reference particle charge
- Returns
- charge in multiples of the (positive) elementary charge
◆ copy()
| RefPart impactx::RefPart::copy |
( |
| ) |
const |
|
inline |
Copy the reference particle
Use this if you want to do an operation that modifies the reference particle, but you want to avoid modifying the particle container that it is assigned to.
◆ gamma()
Get reference particle relativistic gamma
- Returns
- relativistic gamma
◆ kin_energy_MeV()
Get reference particle kinetic energy
- Returns
- kinetic energy in MeV
◆ mass_MeV()
Get reference particle rest mass expressed in MeV
- Returns
- reference particle rest mass * c^2, expressed as an energy (MeV)
◆ qm_ratio_SI()
Get reference particle charge to mass ratio
- Returns
- charge to mass ratio (in SI units of C/kg)
◆ reset()
| void impactx::RefPart::reset |
( |
bool | keep_mass = false, |
|
|
bool | keep_charge = false ) |
|
inline |
Reset the reference particle
- Parameters
-
| keep_mass | do not reset the reference particle mass |
| keep_charge | do not reset the reference particle charge |
◆ rigidity_Tm()
Get reference particle magnetic rigidity
- Returns
- magnetic rigidity Brho in T*m
◆ set_charge_qe()
Set reference particle charge
- Parameters
-
| charge_qe | in multiples of the (positive) elementary charge |
◆ set_kin_energy_MeV()
Set reference particle kinetic energy
- Parameters
-
| kin_energy | initial kinetic energy (MeV) |
◆ set_mass_MeV()
Set reference particle rest mass
- Parameters
-
| massE | reference particle rest mass * c^2, expressed as an energy (MeV) |
◆ charge
| amrex::ParticleReal impactx::RefPart::charge = 0.0 |
◆ map
| amrex::SmallMatrix<amrex::ParticleReal, 6, 6, amrex::Order::F, 1> impactx::RefPart::map {} |
◆ mass
| amrex::ParticleReal impactx::RefPart::mass = 0.0 |
reference rest mass, in kg
◆ pt
| amrex::ParticleReal impactx::RefPart::pt = 0.0 |
energy, normalized by rest energy
◆ px
| amrex::ParticleReal impactx::RefPart::px = 0.0 |
momentum in x divided by m*c = beta_x*gamma [unitless]
◆ py
| amrex::ParticleReal impactx::RefPart::py = 0.0 |
momentum in y divided by m*c = beta_y*gamma [unitless]
◆ pz
| amrex::ParticleReal impactx::RefPart::pz = 0.0 |
momentum in z divided by m*c = beta_z*gamma [unitless]
| amrex::ParticleReal impactx::RefPart::s = 0.0 |
integrated orbit path length, in meters
◆ sedge
| amrex::ParticleReal impactx::RefPart::sedge = 0.0 |
value of s at entrance of the current beamline element
| amrex::ParticleReal impactx::RefPart::t = 0.0 |
| amrex::ParticleReal impactx::RefPart::x = 0.0 |
horizontal position x, in meters
| amrex::ParticleReal impactx::RefPart::y = 0.0 |
vertical position y, in meters
| amrex::ParticleReal impactx::RefPart::z = 0.0 |
longitudinal position z, in meters
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/impactx/checkouts/1182/src/particles/ReferenceParticle.H