OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Classes | Variables
Physics Namespace Reference

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. More...
 
constexpr double two_pi = 2 * pi
 The value of. More...
 
constexpr double u_two_pi = 1.0 / two_pi
 The value of. More...
 
constexpr double e = 2.7182818284590452354
 The value of. More...
 
constexpr double log10e = 0.43429448190325182765
 The logarithm of $e$ to the base 10. More...
 
constexpr double c = 299792458.0
 The velocity of light in m/s. More...
 
constexpr double mu_0 = 1.25663706212e-06
 The permeability of vacuum in Vs/Am. More...
 
constexpr double epsilon_0 = 8.8541878128e-12
 The permittivity of vacuum in As/Vm. More...
 
constexpr double h_bar = 6.582119569e-25
 The reduced Planck constant in GeVs. More...
 
constexpr double Avo = 6.02214076e23
 The Avogadro's number. More...
 
constexpr double kB = 8.617333262e-5
 Boltzman's constant in eV/K. More...
 
constexpr double E_ryd = 13.605693122994e-9
 Rydberg's energy (Rydberg's constant times hc) in GeV. More...
 
constexpr double a0 = 5.29177210903e-11
 Bohr radius in m. More...
 
constexpr double q_e = 1.602176634e-19
 The elementary charge in As. More...
 
constexpr double alpha = 7.2973525693e-03
 The fine structure constant, no dimension. More...
 
constexpr double amu = 0.93149410242
 The atomic mass unit energy equivalent in GeV. More...
 
constexpr double m_e = 0.51099895000e-03
 The electron rest mass in GeV. More...
 
constexpr double r_e = 2.8179403262e-15
 The classical electron radius in m. More...
 
constexpr double lamda_e = 3.8615926796e-13
 The reduced Compton wave length for electrons in m. More...
 
constexpr double a_e = 1.15965218128e-03
 The magnetic momentum anomaly for electrons, no dimension. More...
 
constexpr double m_p = 0.93827208816e+00
 The proton rest mass in GeV. More...
 
constexpr double r_p = 1.53469857e-18
 The classical proton radius in m. More...
 
constexpr double lamda_p = 2.10308910336e-16
 The reduced Compton wave length for protons in m. More...
 
constexpr double a_p = 1.792847386e+00
 The magnetic momentum anomaly for protons, no dimension. More...
 
constexpr double z_p = 1
 The charge of proton. More...
 
constexpr double m_c = 11.9967074146787 * amu
 The carbon-12 (fully-stripped) rest mass in GeV. More...
 
constexpr double m_hm = 1.00837 * amu
 The H- rest mass in GeV. More...
 
constexpr double m_u = 237.999501 * amu
 The uranium-238 (fully-stripped) rest mass in GeV. More...
 
constexpr double m_mu = 0.1056583755
 The muon rest mass in GeV. More...
 
constexpr double m_d = 2.013553212745 * amu
 The deuteron rest mass in GeV. More...
 
constexpr double m_xe = 128.87494026 * amu
 The xenon-129 (fully-stripped) rest mass in GeV. More...
 
constexpr double m_alpha = 4.001506179127 * amu
 The alpha particle rest mass in GeV. More...
 
constexpr double m_h = 1.00782503224 * amu
 The hydrogen atom rest mass in GeV. More...
 
constexpr double m_h2p = 2.01510 * amu
 The H2+ rest mass in GeV. More...
 
constexpr double m_h3p = 3.02293 * amu
 The H3+ rest mass in GeV. More...
 
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
 

Variable Documentation

◆ a0

constexpr double Physics::a0 = 5.29177210903e-11
constexpr

◆ a_e

constexpr double Physics::a_e = 1.15965218128e-03
constexpr

The magnetic momentum anomaly for electrons, no dimension.

Definition at line 87 of file Physics.h.

◆ a_p

constexpr double Physics::a_p = 1.792847386e+00
constexpr

The magnetic momentum anomaly for protons, no dimension.

Definition at line 99 of file Physics.h.

◆ alpha

constexpr double Physics::alpha = 7.2973525693e-03
constexpr

◆ amu

constexpr double Physics::amu = 0.93149410242
constexpr

The atomic mass unit energy equivalent in GeV.

Definition at line 75 of file Physics.h.

Referenced by BeamStrippingPhysics::computeCrossSection(), ScatteringPhysics::computeEnergyLoss(), and RealConstant::RealConstant().

◆ Avo

constexpr double Physics::Avo = 6.02214076e23
constexpr

The Avogadro's number.

Definition at line 57 of file Physics.h.

Referenced by ScatteringPhysics::computeEnergyLoss().

◆ c

constexpr double Physics::c = 299792458.0
constexpr

The velocity of light in m/s.

Definition at line 45 of file Physics.h.

Referenced by Degrader::apply(), FlexibleCollimator::apply(), Monitor::apply(), Source::apply(), Corrector::apply(), GreenWakeFunction::apply(), ParallelTTracker::applyFractionalStep(), Degrader::applyToReferenceParticle(), Monitor::applyToReferenceParticle(), DiscTypeBase::appType(), Astra1DDynamic::Astra1DDynamic(), Astra1DDynamic_fast::Astra1DDynamic_fast(), ParallelTTracker::autophaseCavities(), avl_at(), avl_index(), avl_search_closest(), FDoubleEigen< N >::balance(), IndexedBareFieldIterator< T, Dim >::beginLField(), BendBase::calcDesignRadius(), BendBase::calcFieldAmplitude(), CalcParallelPeriodicDomain(), Bend2D::calculateBendAngle(), Bend2D::calculateRefTrajectory(), centeredInitialize(), PluginElement::changeWidth(), OrbitThreader::checkElementLengths(), Array2D< T >::col_begin(), FArray2D< T, M, N >::col_begin(), Array2D< T >::col_end(), FArray2D< T, M, N >::col_end(), interpolation::complex(), ScatteringPhysics::computeCoulombScattering(), BeamStrippingPhysics::computeCrossSectionBohr(), DistributionMoments::computeDebyeLength(), ScatteringPhysics::computeEnergyLoss(), PartBunch::computeSelfFields(), AmrBoxLib::computeSelfFields_cycl(), PartBunch::computeSelfFields_cycl(), interpolation::conj(), FM1DDynamic::convertHeaderData(), FM1DDynamic_fast::convertHeaderData(), ScatteringPhysics::copyFromBunch(), Statement::delimiter(), RK4< FieldFunction, Arguments >::derivate_m(), DiscTypeBase::dim(), FTps< T, N >::divide(), Probe::doCheck(), Stripper::doCheck(), BeamStrippingPhysics::doPhysics(), Monitor::driftToCorrectPositionAndSave(), Distribution::emitParticles(), OrbitThreader::execute(), ParallelTTracker::execute(), ExtrapolateAndZeroFaceBCApply(), ExtrapolateFaceBCApply(), BoundaryGeometry::fastIsInside(), Inform::fill(), ParallelTTracker::findStartPosition(), for_each(), FunctionFaceBCApply(), ParallelCyclotronTracker::gapCrossKick_m(), EurekaAssign< AntiSymTenzor< T, D > >::get(), EurekaAssign< SymTenzor< T, D > >::get(), EurekaAssign< Tenzor< T, D > >::get(), EurekaAssign< Vektor< T, D > >::get(), RFCavity::getAutoPhaseEstimate(), Rotation3D::getAxis(), Array2D< T >::getColumn(), FArray2D< T, M, N >::getColumn(), TravelingWave::getdT(), RFCavity::getdT(), Astra1DDynamic::getFieldstrength(), Astra1DDynamic_fast::getFieldstrength(), RFCavity::getMomentaKick(), PortableBitmapReader::getNextPart(), PortableGraymapReader::getNextPart(), CavityAutophaser::getPhaseAtMaxEnergy(), Communicate::getProcesses(), IpplInfo::getProcesses(), FieldSolver::getTagging_m(), DistributionMoments::getTemperature(), Corrector::goOnline(), interpolation::im(), IpplStats::incCompressionCompareMax(), IpplStats::incCompressionCompares(), VariableRFCavityFringeField::initialiseCoefficients(), SigmaGenerator::initialize(), OrbitThreader::integrate(), BoundaryGeometry::intersectRayBoundary(), FTps< T, N >::inverse(), BorisPusher::kick(), interpolation::m_complex_build(), Matrix3D::Matrix3D(), Lomb_eq::operator()(), GreenWakeFunction::Wake::operator()(), Array2D< T >::operator()(), FArray2D< T, M, N >::operator()(), matheval::detail::eval_ast< real_t >::operator()(), matheval::detail::ConstantFolder< real_t >::operator()(), interpolation::operator*(), BoundsHolder< T, D >::operator*=(), interpolation::operator*=(), interpolation::operator+(), interpolation::operator+=(), interpolation::operator-(), interpolation::operator-=(), interpolation::operator/(), interpolation::operator/=(), operator<<(), interpolation::operator<<(), CommSendInfo::operator=(), BoundsHolder< T, D >::operator=(), interpolation::operator>>(), SDDS::column::parse(), BoundaryGeometry::partInside(), LOMB_class::period(), PeriodicFaceBCApply(), PETE_apply(), Statement::position(), Statement::print(), ScatteringPhysics::push(), ParallelCyclotronTracker::push(), LF2< FieldFunction, Arguments >::push_m(), Array2D< T >::putColumn(), FArray2D< T, M, N >::putColumn(), interpolation::re(), Bend2D::readFieldMap(), PortableBitmapReader::readImageAscii(), PortableGraymapReader::readImageAscii(), PortableBitmapReader::readImageBinary(), PortableGraymapReader::readImageBinary(), RealConstant::RealConstant(), Util::rewindLinesSDDS(), Offset::rotate(), savgol(), DiscTypeBase::scalarType(), PartBunchBase< T, Dim >::setBeamFrequency(), Message::setCopy(), PartBunchBase< T, Dim >::setCouplingConstant(), Message::setDelete(), ScatteringPhysics::setTimeStepForLeavingParticles(), SigmaGenerator::SigmaGenerator(), PartBins::sortArray(), Util::toUpper(), OrbitThreader::trackBack(), RFCavity::trackOnAxisParticle(), RBend3D::trackRefParticleThrough(), FLieGenerator< T, N >::transform(), Fieldmap::typeset_msg(), OpalHKicker::update(), OpalKicker::update(), OpalMultipole::update(), OpalOctupole::update(), OpalQuadrupole::update(), OpalRBend::update(), OpalSBend::update(), OpalSextupole::update(), OpalSolenoid::update(), OpalVKicker::update(), ThickTracker::update_m(), OrbitThreader::updateBoundingBoxWithCurrentPosition(), ParallelTTracker::updateReferenceParticle(), Message::useCommunicate(), ThickTracker::visitMultipole(), ThickTracker::visitSBend(), where(), ParallelTTracker::writePhaseSpace(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().

◆ e

constexpr double Physics::e = 2.7182818284590452354
constexpr

The value of.

\[ e \]

Definition at line 39 of file Physics.h.

Referenced by TrimCoil::applyField(), Astra1DDynamic::Astra1DDynamic(), Astra1DDynamic_fast::Astra1DDynamic_fast(), Astra1DElectroStatic::Astra1DElectroStatic(), Astra1DElectroStatic_fast::Astra1DElectroStatic_fast(), Astra1DMagnetoStatic::Astra1DMagnetoStatic(), Astra1DMagnetoStatic_fast::Astra1DMagnetoStatic_fast(), CSRIGFWakeFunction::calcPsi(), CSRWakeFunction::calcPsi(), coordinatetransform::CoordinateTransform::calcSCoordinate(), CSRIGFWakeFunction::calculateGreenFunction(), ParallelCyclotronTracker::checkFileMomentum(), Distribution::checkFileMomentum(), Fieldmap::checkMap(), OpalSimulation::collectResults(), ParallelTTracker::computeExternalFields(), OpalSimulation::createSymlink_m(), Astra1D_fast::determineNumSamplingPoints(), Stripper::doPreCheck(), OptimizeCmd::execute(), SampleCmd::execute(), FieldSolver::FieldSolver(), Bend2D::findBendStrength(), ParallelTTracker::findStartPosition(), FM1DDynamic::FM1DDynamic(), FM1DProfile2::FM1DProfile2(), FM2DDynamic::FM2DDynamic(), FM2DElectroStatic::FM2DElectroStatic(), FM2DMagnetoStatic::FM2DMagnetoStatic(), FM3DDynamic::FM3DDynamic(), FM3DMagnetoStatic::FM3DMagnetoStatic(), FM3DMagnetoStaticExtended::FM3DMagnetoStaticExtended(), for_each(), Hypervolume::FromFile(), CmdArguments::getArg(), RFCavity::getAutoPhaseEstimateFallback(), OpalSimulation::getData(), TrackCmd::getDT(), RFCavity::getElementLength(), Astra1DDynamic_fast::getFieldstrength(), FM2DDynamic::getFieldstrength(), FM2DElectroStatic::getFieldstrength(), MultipoleTBase::getFnDerivS(), MultipoleT::getFnDerivS(), MultipoleTBase::getFnDerivX(), MultipoleT::getFnDerivX(), SDDS::SDDSParser::getInterpolatedValue(), CavityAutophaser::getPhaseAtMaxEnergy(), getQuaternion(), Bend2D::getSurfaceMesh(), Offset::getTheta(), RootFinderForCSR::hasPositiveRealRoots(), VariableRFCavity::initialise(), Mesher::isPointOnLine(), Quaternion::isPure(), Quaternion::isUnit(), SigmaGenerator::match(), Quaternion::normalize(), MapAnalyser::normalizeEigen_m(), FromFile::operator()(), MaxNormRadialPeak::operator()(), ProbeVariable::operator()(), RadialPeak::operator()(), SDDSVariable::operator()(), SumErrSq::operator()(), SumErrSqRadialPeak::operator()(), AntiSymTenzor< T, D >::AssignProxy::operator=(), AntiSymTenzor< T, 1 >::AssignProxy::operator=(), OrbitThreader::OrbitThreader(), mslang::Mask::parse_detail(), mslang::Polygon::parse_detail(), mslang::Repeat::parse_detail(), mslang::Rotation::parse_detail(), mslang::Shear::parse_detail(), mslang::Translation::parse_detail(), mslang::Ellipse::parse_detail(), mslang::Rectangle::parse_detail(), ManyMasterSplit< TopoDiscoveryStrategy >::parseArguments(), Pilot< Opt_t, Sim_t, SolPropagationGraph_t, Comm_t >::parseInputFile(), PETE_apply(), IndexedBareFieldIterator< T, Dim >::plugBase(), Astra1D_fast::readFieldData(), FM1DDynamic::readFileHeader(), FM1DDynamic_fast::readFileHeader(), FM1DElectroStatic::readFileHeader(), FM1DElectroStatic_fast::readFileHeader(), FM1DMagnetoStatic::readFileHeader(), FM1DMagnetoStatic_fast::readFileHeader(), Astra1DDynamic_fast::readFileHeader(), Astra1DElectroStatic_fast::readFileHeader(), Astra1DMagnetoStatic_fast::readFileHeader(), Astra1DDynamic::readMap(), Astra1DElectroStatic::readMap(), Astra1DMagnetoStatic::readMap(), FM1DProfile2::readMap(), RealConstant::RealConstant(), OrbitThreader::registerElement(), Util::rewindLinesSDDS(), OpalBeamline::save3DInput(), Distribution::setAttributes(), interpolation::ThreeDGrid::setConstantSpacing(), FlexibleCollimator::setDescription(), Cyclotron::setFMHighE(), Cyclotron::setFMLowE(), PartData::setP(), OpalSimulation::setupFSStructure(), AmrMultiGrid::smooth_m(), Astra1DDynamic_fast::stripFileHeader(), Astra1DElectroStatic_fast::stripFileHeader(), Astra1DMagnetoStatic_fast::stripFileHeader(), matt_boost::trace(), TrackCmd::TrackCmd(), OpalSplineTimeDependence::update(), ThickTracker::visitMultipole(), and ThickTracker::visitSBend().

◆ e0m

constexpr double Physics::e0m = 1.75882001076e+11
constexpr

Definition at line 143 of file Physics.h.

◆ e0mc

constexpr double Physics::e0mc = e0m / c
constexpr

Definition at line 145 of file Physics.h.

◆ E_ryd

constexpr double Physics::E_ryd = 13.605693122994e-9
constexpr

Rydberg's energy (Rydberg's constant times hc) in GeV.

Definition at line 63 of file Physics.h.

Referenced by BeamStrippingPhysics::computeCrossSectionNakai(), and BeamStrippingPhysics::computeCrossSectionTabata().

◆ EMASS

constexpr double Physics::EMASS = 9.1093837015e-31
constexpr

Definition at line 136 of file Physics.h.

◆ epsilon_0

constexpr double Physics::epsilon_0 = 8.8541878128e-12
constexpr

◆ h_bar

constexpr double Physics::h_bar = 6.582119569e-25
constexpr

The reduced Planck constant in GeVs.

Definition at line 54 of file Physics.h.

Referenced by BeamStrippingPhysics::computeCrossSectionBohr(), and BeamStrippingPhysics::evalLorentzStripping().

◆ Ia

constexpr double Physics::Ia = 17.045148e+03
constexpr

Definition at line 141 of file Physics.h.

◆ kB

constexpr double Physics::kB = 8.617333262e-5
constexpr

◆ lamda_e

constexpr double Physics::lamda_e = 3.8615926796e-13
constexpr

The reduced Compton wave length for electrons in m.

Definition at line 84 of file Physics.h.

◆ lamda_p

constexpr double Physics::lamda_p = 2.10308910336e-16
constexpr

The reduced Compton wave length for protons in m.

Definition at line 96 of file Physics.h.

◆ log10e

constexpr double Physics::log10e = 0.43429448190325182765
constexpr

The logarithm of $e$ to the base 10.

Definition at line 42 of file Physics.h.

◆ m_alpha

constexpr double Physics::m_alpha = 4.001506179127 * amu
constexpr

The alpha particle rest mass in GeV.

Definition at line 123 of file Physics.h.

Referenced by RealConstant::RealConstant().

◆ m_c

constexpr double Physics::m_c = 11.9967074146787 * amu
constexpr

The carbon-12 (fully-stripped) rest mass in GeV.

Definition at line 105 of file Physics.h.

Referenced by RealConstant::RealConstant().

◆ m_d

constexpr double Physics::m_d = 2.013553212745 * amu
constexpr

The deuteron rest mass in GeV.

Definition at line 117 of file Physics.h.

Referenced by RealConstant::RealConstant().

◆ m_e

constexpr double Physics::m_e = 0.51099895000e-03
constexpr

◆ m_h

constexpr double Physics::m_h = 1.00782503224 * amu
constexpr

The hydrogen atom rest mass in GeV.

Definition at line 126 of file Physics.h.

Referenced by BeamStrippingPhysics::computeCrossSectionNakai().

◆ m_h2p

constexpr double Physics::m_h2p = 2.01510 * amu
constexpr

The H2+ rest mass in GeV.

Definition at line 129 of file Physics.h.

Referenced by BeamStrippingPhysics::computeCrossSection(), and RealConstant::RealConstant().

◆ m_h3p

constexpr double Physics::m_h3p = 3.02293 * amu
constexpr

The H3+ rest mass in GeV.

Definition at line 132 of file Physics.h.

◆ m_hm

constexpr double Physics::m_hm = 1.00837 * amu
constexpr

The H- rest mass in GeV.

Definition at line 108 of file Physics.h.

Referenced by BeamStrippingPhysics::computeCrossSection(), and RealConstant::RealConstant().

◆ m_mu

constexpr double Physics::m_mu = 0.1056583755
constexpr

The muon rest mass in GeV.

Definition at line 114 of file Physics.h.

Referenced by RealConstant::RealConstant().

◆ m_p

constexpr double Physics::m_p = 0.93827208816e+00
constexpr

◆ m_u

constexpr double Physics::m_u = 237.999501 * amu
constexpr

The uranium-238 (fully-stripped) rest mass in GeV.

Definition at line 111 of file Physics.h.

Referenced by RealConstant::RealConstant().

◆ m_xe

constexpr double Physics::m_xe = 128.87494026 * amu
constexpr

The xenon-129 (fully-stripped) rest mass in GeV.

Definition at line 120 of file Physics.h.

Referenced by RealConstant::RealConstant().

◆ mu_0

constexpr double Physics::mu_0 = 1.25663706212e-06
constexpr

The permeability of vacuum in Vs/Am.

Definition at line 48 of file Physics.h.

Referenced by SigmaGenerator::initialize(), FM2DDynamic::readMap(), FM3DDynamic::readMap(), and FM3DH5Block_nonscale::readMap().

◆ PCHARGE

constexpr double Physics::PCHARGE = 1.602176634e-19
constexpr

Definition at line 138 of file Physics.h.

◆ pi

constexpr double Physics::pi = 3.14159265358979323846
constexpr

The value of.

\[ \pi \]

Definition at line 30 of file Physics.h.

Referenced by Cyclotron::apply(), CSRIGFWakeFunction::apply(), CSRWakeFunction::apply(), Ring::buildRingSections(), ParallelCyclotronTracker::bunchDumpPhaseSpaceData(), ParallelCyclotronTracker::bunchDumpStatData(), FixedFFTLowPassFilter::calc_derivative(), RelativeFFTLowPassFilter::calc_derivative(), Vacuum::checkPressure(), ScatteringPhysics::computeCoulombScattering(), BeamStrippingPhysics::computeCrossSectionBohr(), ScatteringPhysics::computeEnergyLoss(), FM1DDynamic_fast::computeFieldDerivatives(), FM1DElectroStatic_fast::computeFieldDerivatives(), FM1DMagnetoStatic_fast::computeFieldDerivatives(), FM1DDynamic::computeFieldOnAxis(), FM1DElectroStatic::computeFieldOnAxis(), FM1DMagnetoStatic::computeFieldOnAxis(), DistributionMoments::computePlasmaParameter(), ClosedOrbitFinder< Value_type, Size_type, Stepper >::computeTune(), ParallelCyclotronTracker::deleteParticle(), Distribution::emitParticles(), Bend2D::findIdealBendParameters(), RFCavity::getAutoPhaseEstimate(), TravelingWave::getAutoPhaseEstimate(), RFCavity::getAutoPhaseEstimateFallback(), SigmaGenerator::getEmittances(), Astra1DDynamic::getFieldDerivative(), FM1DDynamic::getFieldDerivative(), FM1DElectroStatic::getFieldDerivative(), FM1DMagnetoStatic::getFieldDerivative(), Astra1DDynamic::getFieldstrength(), Astra1DElectroStatic::getFieldstrength(), Astra1DMagnetoStatic::getFieldstrength(), CavityAutophaser::getPhaseAtMaxEnergy(), getQuaternion(), ParallelCyclotronTracker::getQuaternionTwoVectors(), Offset::getTheta(), ParallelCyclotronTracker::initDistInGlobalFrame(), RBend3D::initialise(), TravelingWave::initialise(), SigmaGenerator::initialize(), ParallelCyclotronTracker::initializeTracking_m(), ParallelCyclotronTracker::MtsTracker(), GreenWakeFunction::Wake::operator()(), CavityAutophaser::optimizeCavityPhase(), P3MPoissonSolver::P3MPoissonSolver(), OpalElement::printMultipoleStrength(), RealConstant::RealConstant(), TravelingWave::setPhasem(), TrackRun::setupCyclotronTracker(), TrackRun::setupThickTracker(), TrackRun::setupTTracker(), SigmaGenerator::SigmaGenerator(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().

◆ PMASS

constexpr double Physics::PMASS = 1.67262192369e-27
constexpr

Definition at line 134 of file Physics.h.

◆ q_e

constexpr double Physics::q_e = 1.602176634e-19
constexpr

◆ r_e

constexpr double Physics::r_e = 2.8179403262e-15
constexpr

The classical electron radius in m.

Definition at line 81 of file Physics.h.

Referenced by ScatteringPhysics::computeEnergyLoss().

◆ r_p

constexpr double Physics::r_p = 1.53469857e-18
constexpr

The classical proton radius in m.

Definition at line 93 of file Physics.h.

◆ two_pi

constexpr double Physics::two_pi = 2 * pi
constexpr

The value of.

\[2 \pi \]

Definition at line 33 of file Physics.h.

Referenced by Cyclotron::apply(), VariableRFCavity::apply(), VariableRFCavityFringeField::apply(), Distribution::applyEmissModelAstra(), Distribution::applyEmissModelNonEquil(), ScatteringPhysics::applyRandomRotation(), ScatteringPhysics::applyRotation(), Astra1DDynamic::Astra1DDynamic(), Astra1DDynamic_fast::Astra1DDynamic_fast(), ParallelCyclotronTracker::calculateAngle(), PartBunchBase< T, Dim >::calculateAngle(), Fieldmap::checkMap(), Vacuum::checkPressure(), ScatteringPhysics::computeCoulombScattering(), Astra1D_fast::computeFieldDerivatives(), FM1DDynamic_fast::computeFieldDerivatives(), FM1DElectroStatic_fast::computeFieldDerivatives(), FM1DMagnetoStatic_fast::computeFieldDerivatives(), FM1DDynamic::computeFieldOnAxis(), FM1DElectroStatic::computeFieldOnAxis(), FM1DMagnetoStatic::computeFieldOnAxis(), ClosedOrbitFinder< Value_type, Size_type, Stepper >::computeTune(), FM1DDynamic::convertHeaderData(), FM1DDynamic_fast::convertHeaderData(), ClosedOrbitFinder< Value_type, Size_type, Stepper >::findOrbitOfEnergy_m(), FM2DDynamic::FM2DDynamic(), FM3DDynamic::FM3DDynamic(), Distribution::generateBinomial(), Distribution::generateLongFlattopT(), RFCavity::getAutoPhaseEstimate(), TravelingWave::getAutoPhaseEstimate(), RFCavity::getAutoPhaseEstimateFallback(), MeshGenerator::getCylinder(), Astra1DDynamic::getFieldDerivative(), FM1DDynamic::getFieldDerivative(), FM1DElectroStatic::getFieldDerivative(), FM1DMagnetoStatic::getFieldDerivative(), Astra1DDynamic::getFieldstrength(), Astra1DElectroStatic::getFieldstrength(), Astra1DMagnetoStatic::getFieldstrength(), RFCavity::getMomentaKick(), Bend2D::getOutline(), CavityAutophaser::getPhaseAtMaxEnergy(), FM3DH5BlockBase::getResonanceFrequency(), Util::getTaitBryantAngles(), CavityAutophaser::guessCavityPhase(), RFCavity::initialise(), TravelingWave::initialise(), SigmaGenerator::initialize(), Bend2D::inMagnetCentralRegion(), CavityAutophaser::optimizeCavityPhase(), LOMB_class::period(), RealConstant::RealConstant(), Bend2D::setFieldCalcParam(), TravelingWave::setPhasem(), SigmaGenerator::SigmaGenerator(), OpalCavity::update(), OpalTravelingWave::update(), and mslang::Ellipse::writeGnuplot().

◆ u_two_pi

constexpr double Physics::u_two_pi = 1.0 / two_pi
constexpr

◆ z_p

constexpr double Physics::z_p = 1
constexpr

The charge of proton.

Definition at line 102 of file Physics.h.