#include <G4ClassicalRK4.hh>
|
| | G4ClassicalRK4 (G4EquationOfMotion *EquationMotion, G4int numberOfVariables=6) |
| |
| | ~G4ClassicalRK4 () |
| |
| void | DumbStepper (const G4double yIn[], const G4double dydx[], G4double h, G4double yOut[]) |
| |
| G4int | IntegratorOrder () const |
| |
| | G4MagErrorStepper (G4EquationOfMotion *EqRhs, G4int numberOfVariables, G4int numStateVariables=12) |
| |
| virtual | ~G4MagErrorStepper () |
| |
| void | Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[]) |
| |
| G4double | DistChord () const |
| |
| | G4MagIntegratorStepper (G4EquationOfMotion *Equation, G4int numIntegrationVariables, G4int numStateVariables=12) |
| |
| virtual | ~G4MagIntegratorStepper () |
| |
| virtual void | ComputeRightHandSide (const G4double y[], G4double dydx[]) |
| |
| void | NormaliseTangentVector (G4double vec[6]) |
| |
| void | NormalisePolarizationVector (G4double vec[12]) |
| |
| void | RightHandSide (const double y[], double dydx[]) |
| |
| G4int | GetNumberOfVariables () const |
| |
| G4int | GetNumberOfStateVariables () const |
| |
| G4EquationOfMotion * | GetEquationOfMotion () |
| |
| void | SetEquationOfMotion (G4EquationOfMotion *newEquation) |
| |
Definition at line 48 of file G4ClassicalRK4.hh.
◆ G4ClassicalRK4() [1/2]
Definition at line 39 of file G4ClassicalRK4.cc.
42 unsigned int noVariables=
std::max(numberOfVariables,8);
G4MagErrorStepper(G4EquationOfMotion *EqRhs, G4int numberOfVariables, G4int numStateVariables=12)
◆ ~G4ClassicalRK4()
| G4ClassicalRK4::~G4ClassicalRK4 |
( |
| ) |
|
◆ G4ClassicalRK4() [2/2]
◆ DumbStepper()
Implements G4MagErrorStepper.
Definition at line 71 of file G4ClassicalRK4.cc.
88 yt[i] = yIn[i] + hh*dydx[i] ;
101 dydxm[i] +=
dydxt[i] ;
107 yOut[i] = yIn[i]+h6*(dydx[i]+
dydxt[i]+2.0*
dydxm[i]);
G4int GetNumberOfVariables() const
void RightHandSide(const double y[], double dydx[])
void NormalisePolarizationVector(G4double vec[12])
◆ IntegratorOrder()
| G4int G4ClassicalRK4::IntegratorOrder |
( |
| ) |
const |
|
inlinevirtual |
◆ operator=()
◆ StepWithEst()
Definition at line 118 of file G4ClassicalRK4.cc.
127 G4Exception(
"G4ClassicalRK4::StepWithEst()",
"GeomField0001",
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ dydxm
◆ dydxt
◆ yt
The documentation for this class was generated from the following files: