42 unsigned int noVariables=
std::max(numberOfVariables,8);
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]);
127 G4Exception(
"G4ClassicalRK4::StepWithEst()",
"GeomField0001",
T max(const T t1, const T t2)
brief Return the largest of the two arguments
void StepWithEst(const G4double yIn[], const G4double dydx[], G4double h, G4double yOut[], G4double &alpha2, G4double &beta2, const G4double B1[], G4double B2[])
void DumbStepper(const G4double yIn[], const G4double dydx[], G4double h, G4double yOut[])
G4ClassicalRK4(G4EquationOfMotion *EquationMotion, G4int numberOfVariables=6)
void RightHandSide(const double y[], double dydx[]) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
void NormalisePolarizationVector(G4double vec[12])
G4int GetNumberOfVariables() const