|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Namespaces | |
| namespace | LinearBreitWheeler |
| namespace | LinearCompton |
| namespace | MuonDecay |
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 | tau_mu = 2.1969811e-6 |
| Muon mean lifetime at rest [s] (PDG) | |
| constexpr double | a_mu = 1.16592061e-03 |
| The magnetic moment anomaly for muons, no dimension (PDG, (g-2)/2) | |
| constexpr double | m_pi = 0.13957039 |
| The charged pion rest mass in GeV (PDG) | |
| constexpr double | tau_pi = 2.6033e-8 |
| Charged pion mean lifetime at rest [s] (PDG) | |
| 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 |
The magnetic momentum anomaly for electrons, no dimension.
Definition at line 102 of file Physics.h.
Referenced by ParticleProperties::getParticleAnomaly().
|
constexpr |
The magnetic moment anomaly for muons, no dimension (PDG, (g-2)/2)
Definition at line 135 of file Physics.h.
Referenced by ParticleProperties::getParticleAnomaly().
|
constexpr |
The magnetic momentum anomaly for protons, no dimension.
Definition at line 114 of file Physics.h.
Referenced by ParticleProperties::getParticleAnomaly().
|
constexpr |
|
constexpr |
The atomic mass unit energy equivalent in GeV.
Definition at line 90 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
|
constexpr |
The velocity of light in m/s.
Definition at line 60 of file Physics.h.
Referenced by Monitor::apply(), Monitor::apply(), Corrector::apply(), ParticleContainer< T, Dim >::applyFractionalStep(), Monitor::applyToReferenceParticle(), Astra1DDynamic::Astra1DDynamic(), ParallelTracker::autophaseCavities(), BendBase::calcDesignRadius(), BendBase::calcFieldAmplitude(), PluginElement::changeWidth(), OrbitThreader::checkElementLengths(), DistributionMoments::computeDebyeLength(), Astra1DDynamic::computeField(), RK4< FieldFunction, Arguments >::derivate_m(), Monitor::driftToCorrectPositionAndSave(), SpinTBMTPusher::evolve(), OrbitThreader::execute(), ParallelTracker::execute(), ParallelTracker::findStartPositions(), EmittedFromFile::generateLocalParticles(), OpalFlatTop::generateLocalParticles(), FlatTop::generateUniformDisk(), RFCavity::getAutoPhaseEstimate(), TravelingWave::getdT(), RFCavity::getdT(), RFCavity::getMomentaKick(), CavityAutophaser::getPhaseAtMaxEnergy(), DistributionMoments::getTemperature(), Corrector::goOnline(), FlatTop::initDomainDecomp(), OpalFlatTop::initDomainDecomp(), OrbitThreader::integrate(), BorisPusher::kick(), BoundaryGeometry::partInside(), Physics::LinearBreitWheeler::photonEnergyFromWavelengthGeV(), Physics::LinearCompton::photonEnergyFromWavelengthGeV(), LF2< FieldFunction, Arguments >::push_m(), RealConstant::RealConstant(), Util::rewindLinesSDDS(), Corrector::setDesignEnergy(), ParticleContainer< T, Dim >::switchOffUnitlessPositions(), ParticleContainer< T, Dim >::switchToUnitlessPositions(), TEST(), TEST(), TEST(), TEST(), TEST_F(), TEST_F(), FlatTop::testNumEmitParticles(), OrbitThreader::trackBack(), RFCavity::trackOnAxisParticle(), OpalMultipole::update(), OpalQuadrupole::update(), OpalRBend::update(), OpalSBend::update(), OpalSolenoid::update(), OrbitThreader::updateBoundingBoxWithCurrentPosition(), ParallelTracker::updateReferenceParticles(), and H5PartWrapperForPT::writeStepHeader().
|
constexpr |
The value of.
\[ e \]
Definition at line 49 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
The permittivity of vacuum in As/Vm.
Definition at line 66 of file Physics.h.
Referenced by DistributionMoments::computeDebyeLength(), FieldSolver< T, Dim >::getCouplingConstant(), and H5PartWrapperForPT::writeStepHeader().
|
constexpr |
The reduced Planck constant in GeVs.
Definition at line 69 of file Physics.h.
Referenced by Physics::LinearBreitWheeler::photonEnergyFromWavelengthGeV(), and Physics::LinearCompton::photonEnergyFromWavelengthGeV().
|
constexpr |
Boltzman's constant in eV/K.
Definition at line 75 of file Physics.h.
Referenced by DistributionMoments::getTemperature().
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
The alpha particle rest mass in GeV.
Definition at line 150 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
The carbon-12 (fully-stripped) rest mass in GeV.
Definition at line 120 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
The deuteron rest mass in GeV.
Definition at line 144 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
The electron rest mass in GeV.
Definition at line 93 of file Physics.h.
Referenced by DistributionMoments::computeDebyeLength(), Physics::LinearCompton::differentialCrossSectionOmegaERF(), Physics::LinearCompton::electronGamma(), Physics::LinearCompton::invariantKappa(), main(), Physics::MuonDecay::minElectronX(), RealConstant::RealConstant(), Physics::LinearBreitWheeler::sampleEvent(), TEST(), TEST(), TEST(), TEST(), TEST_F(), and Physics::LinearBreitWheeler::thresholdInvariantSGeV2().
|
constexpr |
|
constexpr |
The H2+ rest mass in GeV.
Definition at line 156 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
|
constexpr |
The H- rest mass in GeV.
Definition at line 123 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
The muon rest mass in GeV.
Definition at line 129 of file Physics.h.
Referenced by Physics::MuonDecay::maxElectronEnergy(), and RealConstant::RealConstant().
|
constexpr |
The proton rest mass in GeV.
Definition at line 105 of file Physics.h.
Referenced by RealConstant::RealConstant(), and Beam::update().
|
constexpr |
|
constexpr |
The uranium-238 (fully-stripped) rest mass in GeV.
Definition at line 126 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
The xenon-129 (fully-stripped) rest mass in GeV.
Definition at line 147 of file Physics.h.
Referenced by RealConstant::RealConstant().
|
constexpr |
The permeability of vacuum in Vs/Am.
Definition at line 63 of file Physics.h.
Referenced by FM2DDynamic::readMap(), TEST_F(), and TEST_F().
|
constexpr |
|
constexpr |
The value of.
\[ \pi \]
Definition at line 36 of file Physics.h.
Referenced by Ring::buildRingSections(), FixedFFTLowPassFilter::calc_derivative(), RelativeFFTLowPassFilter::calc_derivative(), Astra1DMagnetoStatic::computeField(), Astra1DDynamic::computeField(), DistributionMoments::computePlasmaParameter(), MuonDecay::createDaughterParticles(), PionDecay::createDaughterParticles(), FlatTop::generateUniformDisk(), RFCavity::getAutoPhaseEstimate(), TravelingWave::getAutoPhaseEstimate(), RFCavity::getAutoPhaseEstimateFallback(), FieldSolver< T, Dim >::getCouplingConstant(), Astra1DDynamic::getFieldDerivative(), CavityAutophaser::getPhaseAtMaxEnergy(), getQuaternion(), SinusoidalTimeDependence::getValue(), TravelingWave::initialise(), CavityAutophaser::optimizeCavityPhase(), OpalElement::printMultipoleStrength(), RealConstant::RealConstant(), TravelingWave::setPhasem(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), Physics::LinearCompton::thomsonCrossSection(), Physics::LinearCompton::totalCrossSection(), Physics::LinearBreitWheeler::totalCrossSection(), and H5PartWrapperForPT::writeStepHeader().
|
constexpr |
|
constexpr |
The elementary charge in As.
Definition at line 84 of file Physics.h.
Referenced by DistributionMoments::computeDebyeLength(), Monitor::driftToCorrectPositionAndSave(), TrackRun::execute(), Beam::getMassPerParticle(), and ParticleProperties::getParticleChargeInCoulomb().
|
constexpr |
The classical electron radius in m.
Definition at line 96 of file Physics.h.
Referenced by Physics::LinearCompton::differentialCrossSectionSolidAngleERF(), Physics::LinearCompton::thomsonCrossSection(), Physics::LinearCompton::totalCrossSection(), and Physics::LinearBreitWheeler::totalCrossSection().
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
The value of.
\[2 \pi \]
Definition at line 40 of file Physics.h.
Referenced by Astra1DDynamic::Astra1DDynamic(), OpalFlatTop::buildBirthTimeInventory(), Fieldmap::checkMap(), Astra1DMagnetoStatic::computeField(), VariableRFCavity::computeField(), Astra1DDynamic::computeField(), Physics::LinearCompton::differentialCrossSectionOmegaERF(), FM2DDynamic::FM2DDynamic(), OpalFlatTop::generateLocalParticles(), RFCavity::getAutoPhaseEstimate(), TravelingWave::getAutoPhaseEstimate(), RFCavity::getAutoPhaseEstimateFallback(), MeshGenerator::getCylinder(), Astra1DDynamic::getFieldDerivative(), SinusoidalTimeDependence::getIntegral(), RFCavity::getMomentaKick(), CavityAutophaser::getPhaseAtMaxEnergy(), Util::getTaitBryantAngles(), MeshGenerator::getTube(), CavityAutophaser::guessCavityPhase(), RFCavity::initialise(), TravelingWave::initialise(), LinearComptonBenchmark::integrateLabAngularSpectrum(), LinearComptonBenchmark::integrateLabJointSpectrum(), LinearComptonBenchmark::integrateLabSpectrum(), CavityAutophaser::optimizeCavityPhase(), Physics::LinearBreitWheeler::photonEnergyFromWavelengthGeV(), Physics::LinearCompton::photonEnergyFromWavelengthGeV(), Astra1DDynamic::readMap(), Astra1DMagnetoStatic::readMap(), RealConstant::RealConstant(), Physics::LinearBreitWheeler::sampleEvent(), Physics::LinearCompton::sampleEvent(), FlatTop::setInternalVariables(), OpalFlatTop::setInternalVariables(), TravelingWave::setPhasem(), TEST(), TEST(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), OpalCavity::update(), OpalTravelingWave::update(), and mslang::Ellipse::writeGnuplot().
|
constexpr |