|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4Mag_UsualEqRhs defines the standard right-hand side for equation of motion. More...
#include <G4Mag_UsualEqRhs.hh>
Public Member Functions | |
| G4Mag_UsualEqRhs (G4MagneticField *MagField) | |
| ~G4Mag_UsualEqRhs () override=default | |
| void | EvaluateRhsGivenB (const G4double y[], const G4double B[3], G4double dydx[]) const override |
| void | SetChargeMomentumMass (G4ChargeState particleCharge, G4double MomentumXc, G4double mass) override |
| G4EquationType | GetEquationType () const override |
| Public Member Functions inherited from G4Mag_EqRhs | |
| G4Mag_EqRhs (G4MagneticField *magField) | |
| ~G4Mag_EqRhs () override=default | |
| G4double | FCof () const |
| Public Member Functions inherited from G4EquationOfMotion | |
| G4EquationOfMotion (G4Field *Field) | |
| virtual | ~G4EquationOfMotion ()=default |
| void | RightHandSide (const G4double y[], G4double dydx[]) const |
| void | EvaluateRhsReturnB (const G4double y[], G4double dydx[], G4double Field[]) const |
| void | GetFieldValue (const G4double Point[4], G4double Field[]) const |
| const G4Field * | GetFieldObj () const |
| G4Field * | GetFieldObj () |
| void | SetFieldObj (G4Field *pField) |
G4Mag_UsualEqRhs defines the standard right-hand side for equation of motion.
Definition at line 50 of file G4Mag_UsualEqRhs.hh.
| G4Mag_UsualEqRhs::G4Mag_UsualEqRhs | ( | G4MagneticField * | MagField | ) |
Constructor for G4Mag_UsualEqRhs.
| [in] | MagField | Pointer to the associated magnetic field. |
Definition at line 36 of file G4Mag_UsualEqRhs.cc.
Referenced by G4ErrorMag_UsualEqRhs::G4ErrorMag_UsualEqRhs(), and G4TMagFieldEquation< T_Field >::G4TMagFieldEquation().
|
overridedefault |
Default Destructor.
|
overridevirtual |
Calculates the value of the derivative, given the value of the field.
| [in] | y | Coefficients array. |
| [in] | B | Field value. |
| [out] | dydx | Derivatives array. |
Implements G4Mag_EqRhs.
Definition at line 42 of file G4Mag_UsualEqRhs.cc.
Referenced by G4ErrorMag_UsualEqRhs::EvaluateRhsGivenB().
|
inlineoverridevirtual |
Returns the equation of motion type ID, i.e. "kEqMagnetic".
Reimplemented from G4EquationOfMotion.
Definition at line 86 of file G4Mag_UsualEqRhs.hh.
|
overridevirtual |
Sets the charge momentum mass value.
Reimplemented from G4Mag_EqRhs.
Definition at line 63 of file G4Mag_UsualEqRhs.cc.