#include <G4KM_NucleonEqRhs.hh>
Definition at line 49 of file G4KM_NucleonEqRhs.hh.
Definition at line 45 of file G4KM_NucleonEqRhs.cc.
static G4Pow * GetInstance()
static constexpr double hbarc
virtual G4int GetMassNumber()=0
G4double A23(G4double A) const
G4Mag_EqRhs(G4MagneticField *magField)
static constexpr double pi2
G4KM_NucleonEqRhs::~G4KM_NucleonEqRhs |
( |
| ) |
|
|
inline |
Implements G4Mag_EqRhs.
Definition at line 55 of file G4KM_NucleonEqRhs.cc.
59 G4double yMod = std::sqrt(y[0]*y[0]+y[1]*y[1]+y[2]*y[2]);
60 G4double e = std::sqrt(theMass*theMass+y[3]*y[3]+y[4]*y[4]+y[5]*y[5]);
91 if (density > 0 ) deriv = (factor/theMass)/
97 dydx[3] = yMod == 0 ? 0 : deriv*y[0]/yMod*
c_light;
98 dydx[4] = yMod == 0 ? 0 : deriv*y[1]/yMod*
c_light;
99 dydx[5] = yMod == 0 ? 0 : deriv*y[2]/yMod*
c_light;
static G4Pow * GetInstance()
virtual const G4VNuclearDensity * GetNuclearDensity() const =0
virtual G4double GetDeriv(const G4ThreeVector &point) const =0
G4double GetDensity(const G4ThreeVector &aPosition) const
G4double A13(G4double A) const
static constexpr double c_light
static const G4double pos
The documentation for this class was generated from the following files: