42 unsigned int noVariables=
std::max(numberOfVariables,8);
88 yt[i] = yIn[i] + hh*dydx[i] ;
94 yt[i] = yIn[i] + hh*dydxt[i] ;
100 yt[i] = yIn[i] + h*dydxm[i] ;
101 dydxm[i] += dydxt[i] ;
107 yOut[i] = yIn[i]+h6*(dydx[i]+dydxt[i]+2.0*dydxm[i]);
118 G4ClassicalRK4::StepWithEst(
const G4double*,
127 G4Exception(
"G4ClassicalRK4::StepWithEst()",
"GeomField0001",
G4int GetNumberOfVariables() const
void DumbStepper(const G4double yIn[], const G4double dydx[], G4double h, G4double yOut[])
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
void RightHandSide(const double y[], double dydx[])
void NormalisePolarizationVector(G4double vec[12])
G4ClassicalRK4(G4EquationOfMotion *EquationMotion, G4int numberOfVariables=6)