G4EquationOfMotion is the abstract base class for the right hand size of the equation of motion of a particle in a field.
More...
#include <G4EquationOfMotion.hh>
G4EquationOfMotion is the abstract base class for the right hand size of the equation of motion of a particle in a field.
Definition at line 49 of file G4EquationOfMotion.hh.
◆ G4EquationOfMotion()
| G4EquationOfMotion::G4EquationOfMotion |
( |
G4Field * | Field | ) |
|
◆ ~G4EquationOfMotion()
| virtual G4EquationOfMotion::~G4EquationOfMotion |
( |
| ) |
|
|
virtualdefault |
Default virtual Destructor.
◆ EvaluateRhsGivenB()
◆ EvaluateRhsReturnB()
◆ GetEquationType()
◆ GetFieldObj() [1/2]
| G4Field * G4EquationOfMotion::GetFieldObj |
( |
| ) |
|
|
inline |
◆ GetFieldObj() [2/2]
| const G4Field * G4EquationOfMotion::GetFieldObj |
( |
| ) |
const |
|
inline |
Accessors and modifier for the field.
◆ GetFieldValue()
| void G4EquationOfMotion::GetFieldValue |
( |
const G4double | Point[4], |
|
|
G4double | Field[] ) const |
|
inline |
Returns the 'Field' value at the given time 'Point'.
- Parameters
-
| [in] | Point | The time point (x,y,z,t). |
| [out] | Field | The returned field value. |
◆ RightHandSide()
| void G4EquationOfMotion::RightHandSide |
( |
const G4double | y[], |
|
|
G4double | dydx[] ) const |
|
inline |
Calculates the value of the derivative 'dydx' at 'y'. Calls the virtual function above.
- Parameters
-
| [in] | y | Coefficients array. |
| [out] | dydx | Derivatives array. |
◆ SetChargeMomentumMass()
Sets the charge, momentum and mass of the current particle. Used to set the equation's coefficients.
- Parameters
-
| [in] | particleCharge | Magnetic charge and moments in e+ units. |
| [in] | MomentumXc | Particle momentum. |
| [in] | mass | Particle mass. |
Implemented in G4EqEMFieldWithEDM, G4EqEMFieldWithSpin, G4EqGravityField, G4EqMagElectricField, G4KM_NucleonEqRhs, G4KM_OpticalEqRhs, G4Mag_EqRhs, G4Mag_SpinEqRhs, G4Mag_UsualEqRhs, G4MonopoleEq, and G4RepleteEofM.
◆ SetFieldObj()
| void G4EquationOfMotion::SetFieldObj |
( |
G4Field * | pField | ) |
|
|
inline |
The documentation for this class was generated from the following files: