|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
|
Classes | |
| class | Air |
| class | AluminaAL2O3 |
| class | Aluminum |
| class | Beryllium |
| class | BoronCarbide |
| class | Copper |
| class | Gold |
| class | Graphite |
| class | GraphiteR6710 |
| class | Kapton |
| class | Material |
| class | Molybdenum |
| class | Mylar |
| class | Titanium |
| class | Water |
Variables | |
| constexpr double | pi = 3.14159265358979323846 |
| The value of. | |
| constexpr double | two_pi = 2 * pi |
| The value of. | |
| constexpr double | u_two_pi = 1.0 / two_pi |
| The value of. | |
| constexpr double | e = 2.7182818284590452354 |
| The value of. | |
| constexpr double | log10e = 0.43429448190325182765 |
| The logarithm of $e$ to the base 10. | |
| constexpr double | c = 299792458.0 |
| The velocity of light in m/s. | |
| constexpr double | mu_0 = 1.25663706212e-06 |
| The permeability of vacuum in Vs/Am. | |
| constexpr double | epsilon_0 = 8.8541878128e-12 |
| The permittivity of vacuum in As/Vm. | |
| constexpr double | h_bar = 6.582119569e-25 |
| The reduced Planck constant in GeVs. | |
| constexpr double | Avo = 6.02214076e23 |
| The Avogadro's number. | |
| constexpr double | kB = 8.617333262e-5 |
| Boltzman's constant in eV/K. | |
| constexpr double | E_ryd = 13.605693122994e-9 |
| Rydberg's energy (Rydberg's constant times hc) in GeV. | |
| constexpr double | a0 = 5.29177210903e-11 |
| Bohr radius in m. | |
| constexpr double | q_e = 1.602176634e-19 |
| The elementary charge in As. | |
| constexpr double | alpha = 7.2973525693e-03 |
| The fine structure constant, no dimension. | |
| constexpr double | amu = 0.93149410242 |
| The atomic mass unit energy equivalent in GeV. | |
| constexpr double | m_e = 0.51099895000e-03 |
| The electron rest mass in GeV. | |
| constexpr double | r_e = 2.8179403262e-15 |
| The classical electron radius in m. | |
| constexpr double | lamda_e = 3.8615926796e-13 |
| The reduced Compton wave length for electrons in m. | |
| constexpr double | a_e = 1.15965218128e-03 |
| The magnetic momentum anomaly for electrons, no dimension. | |
| constexpr double | m_p = 0.93827208816e+00 |
| The proton rest mass in GeV. | |
| constexpr double | r_p = 1.53469857e-18 |
| The classical proton radius in m. | |
| constexpr double | lamda_p = 2.10308910336e-16 |
| The reduced Compton wave length for protons in m. | |
| constexpr double | a_p = 1.792847386e+00 |
| The magnetic momentum anomaly for protons, no dimension. | |
| constexpr double | z_p = 1 |
| The charge of proton. | |
| constexpr double | m_c = 11.9967074146787 * amu |
| The carbon-12 (fully-stripped) rest mass in GeV. | |
| constexpr double | m_hm = 1.00837 * amu |
| The H- rest mass in GeV. | |
| constexpr double | m_u = 237.999501 * amu |
| The uranium-238 (fully-stripped) rest mass in GeV. | |
| constexpr double | m_mu = 0.1056583755 |
| The muon rest mass in GeV. | |
| constexpr double | m_d = 2.013553212745 * amu |
| The deuteron rest mass in GeV. | |
| constexpr double | m_xe = 128.87494026 * amu |
| The xenon-129 (fully-stripped) rest mass in GeV. | |
| constexpr double | m_alpha = 4.001506179127 * amu |
| The alpha particle rest mass in GeV. | |
| constexpr double | m_h = 1.00782503224 * amu |
| The hydrogen atom rest mass in GeV. | |
| constexpr double | m_h2p = 2.01510 * amu |
| The H2+ rest mass in GeV. | |
| constexpr double | m_h3p = 3.02293 * amu |
| The H3+ rest mass in GeV. | |
| constexpr double | PMASS = 1.67262192369e-27 |
| constexpr double | EMASS = 9.1093837015e-31 |
| constexpr double | PCHARGE = 1.602176634e-19 |
| constexpr double | Ia = 17.045148e+03 |
| constexpr double | e0m = 1.75882001076e+11 |
| constexpr double | e0mc = e0m / c |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
The atomic mass unit energy equivalent in GeV.
Definition at line 75 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
|
constexpr |
The velocity of light in m/s.
Definition at line 45 of file Physics.h.
Referenced by Corrector::apply(), ParallelTracker::applyFractionalStep(), Astra1DDynamic::Astra1DDynamic(), Astra1DDynamic_fast::Astra1DDynamic_fast(), ParallelTracker::autophaseCavities(), PluginElement::changeWidth(), OrbitThreader::checkElementLengths(), DistributionMoments::computeDebyeLength(), FM1DDynamic::convertHeaderData(), FM1DDynamic_fast::convertHeaderData(), FlatTop::countEnteringParticlesPerRank(), RK4< FieldFunction, Arguments >::derivate_m(), OrbitThreader::execute(), ParallelTracker::execute(), ParallelTracker::findStartPosition(), RFCavity::getAutoPhaseEstimate(), RFCavity::getdT(), TravelingWave::getdT(), Astra1DDynamic::getFieldstrength(), Astra1DDynamic_fast::getFieldstrength(), RFCavity::getMomentaKick(), CavityAutophaser::getPhaseAtMaxEnergy(), DistributionMoments::getTemperature(), Corrector::goOnline(), FlatTop::initDomainDecomp(), OrbitThreader::integrate(), BorisPusher::kick(), ParallelTracker::kickParticles(), BoundaryGeometry::partInside(), LF2< FieldFunction, Arguments >::push_m(), RealConstant::RealConstant(), Util::rewindLinesSDDS(), Corrector::setDesignEnergy(), PartBins::sortArray(), FlatTop::testNumEmitParticles(), OrbitThreader::trackBack(), RFCavity::trackOnAxisParticle(), OpalMultipole::update(), OpalSolenoid::update(), OrbitThreader::updateBoundingBoxWithCurrentPosition(), ParallelTracker::updateReferenceParticle(), and H5PartWrapperForPT::writeStepHeader().
|
constexpr |
The value of.
\[ e \]
Definition at line 39 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
|
constexpr |
The permittivity of vacuum in As/Vm.
Definition at line 51 of file Physics.h.
Referenced by DistributionMoments::computeDebyeLength(), TrackRun::execute(), and H5PartWrapperForPT::writeStepHeader().
|
constexpr |
|
constexpr |
Boltzman's constant in eV/K.
Definition at line 60 of file Physics.h.
Referenced by DistributionMoments::getTemperature().
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
The alpha particle rest mass in GeV.
Definition at line 123 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
The carbon-12 (fully-stripped) rest mass in GeV.
Definition at line 105 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
The deuteron rest mass in GeV.
Definition at line 117 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
The electron rest mass in GeV.
Definition at line 78 of file Physics.h.
Referenced by DistributionMoments::computeDebyeLength(), and RealConstant::RealConstant().
|
constexpr |
|
constexpr |
The H2+ rest mass in GeV.
Definition at line 129 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
|
constexpr |
The H- rest mass in GeV.
Definition at line 108 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
The muon rest mass in GeV.
Definition at line 114 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
The proton rest mass in GeV.
Definition at line 90 of file Physics.h.
Referenced by RealConstant::RealConstant(), and Beam::update().
|
constexpr |
The uranium-238 (fully-stripped) rest mass in GeV.
Definition at line 111 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
The xenon-129 (fully-stripped) rest mass in GeV.
Definition at line 120 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
The permeability of vacuum in Vs/Am.
Definition at line 48 of file Physics.h.
Referenced by FM2DDynamic::readMap(), FM3DDynamic::readMap(), and FM3DH5Block_nonscale::readMap().
|
constexpr |
The value of.
\[ \pi \]
Definition at line 30 of file Physics.h.
Referenced by Ring::buildRingSections(), FixedFFTLowPassFilter::calc_derivative(), RelativeFFTLowPassFilter::calc_derivative(), FM1DDynamic_fast::computeFieldDerivatives(), FM1DElectroStatic_fast::computeFieldDerivatives(), FM1DMagnetoStatic_fast::computeFieldDerivatives(), FM1DDynamic::computeFieldOnAxis(), FM1DElectroStatic::computeFieldOnAxis(), FM1DMagnetoStatic::computeFieldOnAxis(), DistributionMoments::computePlasmaParameter(), TrackRun::execute(), FlatTop::generateUniformDisk(), RFCavity::getAutoPhaseEstimate(), TravelingWave::getAutoPhaseEstimate(), RFCavity::getAutoPhaseEstimateFallback(), Astra1DDynamic::getFieldDerivative(), FM1DDynamic::getFieldDerivative(), FM1DElectroStatic::getFieldDerivative(), FM1DMagnetoStatic::getFieldDerivative(), Astra1DDynamic::getFieldstrength(), Astra1DElectroStatic::getFieldstrength(), Astra1DMagnetoStatic::getFieldstrength(), CavityAutophaser::getPhaseAtMaxEnergy(), getQuaternion(), Offset::getTheta(), TravelingWave::initialise(), CavityAutophaser::optimizeCavityPhase(), OpalElement::printMultipoleStrength(), RealConstant::RealConstant(), TravelingWave::setPhasem(), and H5PartWrapperForPT::writeStepHeader().
|
constexpr |
The elementary charge in As.
Definition at line 69 of file Physics.h.
Referenced by DistributionMoments::computeDebyeLength(), Beam::getMassPerParticle(), and ParticleProperties::getParticleChargeInCoulomb().
|
constexpr |
|
constexpr |
|
constexpr |
The value of.
\[2 \pi \]
Definition at line 33 of file Physics.h.
Referenced by Astra1DDynamic::Astra1DDynamic(), Astra1DDynamic_fast::Astra1DDynamic_fast(), Fieldmap::checkMap(), Astra1D_fast::computeFieldDerivatives(), FM1DDynamic_fast::computeFieldDerivatives(), FM1DElectroStatic_fast::computeFieldDerivatives(), FM1DMagnetoStatic_fast::computeFieldDerivatives(), FM1DDynamic::computeFieldOnAxis(), FM1DElectroStatic::computeFieldOnAxis(), FM1DMagnetoStatic::computeFieldOnAxis(), FM1DDynamic::convertHeaderData(), FM1DDynamic_fast::convertHeaderData(), FM2DDynamic::FM2DDynamic(), FM3DDynamic::FM3DDynamic(), RFCavity::getAutoPhaseEstimate(), TravelingWave::getAutoPhaseEstimate(), RFCavity::getAutoPhaseEstimateFallback(), MeshGenerator::getCylinder(), Astra1DDynamic::getFieldDerivative(), FM1DDynamic::getFieldDerivative(), FM1DElectroStatic::getFieldDerivative(), FM1DMagnetoStatic::getFieldDerivative(), Astra1DDynamic::getFieldstrength(), Astra1DElectroStatic::getFieldstrength(), Astra1DMagnetoStatic::getFieldstrength(), RFCavity::getMomentaKick(), CavityAutophaser::getPhaseAtMaxEnergy(), FM3DH5BlockBase::getResonanceFrequency(), Util::getTaitBryantAngles(), CavityAutophaser::guessCavityPhase(), RFCavity::initialise(), TravelingWave::initialise(), CavityAutophaser::optimizeCavityPhase(), RealConstant::RealConstant(), FlatTop::setParameters(), TravelingWave::setPhasem(), OpalCavity::update(), OpalTravelingWave::update(), and mslang::Ellipse::writeGnuplot().
|
constexpr |