OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
#include <ParticleProperties.h>
Static Public Member Functions | |
static ParticleType | getParticleType (const std::string &str) |
static std::string | getParticleTypeString (const ParticleType &type) |
static double | getParticleMass (const ParticleType &type) |
static double | getParticleCharge (const ParticleType &type) |
static double | getParticleChargeInCoulomb (const ParticleType &type) |
Static Private Attributes | |
static const boost::bimap< ParticleType, std::string > | bmParticleType_s |
static const std::map< ParticleType, double > | particleMass_m |
static const std::map< ParticleType, double > | particleCharge_m |
Definition at line 51 of file ParticleProperties.h.
|
static |
Definition at line 41 of file ParticleProperties.cpp.
References particleCharge_m.
Referenced by getParticleChargeInCoulomb(), and Beam::update().
|
static |
Definition at line 45 of file ParticleProperties.cpp.
References getParticleCharge(), and Physics::q_e.
Referenced by BeamStrippingPhysics::transformToSecondary().
|
static |
Definition at line 37 of file ParticleProperties.cpp.
References particleMass_m.
Referenced by BeamStrippingPhysics::transformToSecondary(), and Beam::update().
|
static |
Definition at line 24 of file ParticleProperties.cpp.
References bmParticleType_s, and UNNAMED.
Referenced by PartBunchBase< T, Dim >::setPType(), and Beam::update().
|
static |
Definition at line 33 of file ParticleProperties.cpp.
References bmParticleType_s.
Referenced by BeamStrippingPhysics::apply(), ScatteringPhysics::apply(), and BeamStrippingPhysics::transformToSecondary().
|
staticprivate |
Definition at line 63 of file ParticleProperties.h.
Referenced by getParticleType(), and getParticleTypeString().
|
staticprivate |
Definition at line 66 of file ParticleProperties.h.
Referenced by getParticleCharge().
|
staticprivate |
Definition at line 65 of file ParticleProperties.h.
Referenced by getParticleMass().