108 for(
unsigned int i = 0; i <
N; ++i)
109 yInitial[i] = yInput[i];
112 yMiddle[7] = yInput[7];
113 yOneStep[7] = yInput[7];
115 for(
unsigned int i =
N; i < maxvar; ++i)
116 yOutput[i] = yInput[i];
122 static_cast<T_Stepper*
>(
this)->DumbStepper(yInitial, dydx, halfStep,
125 static_cast<T_Stepper*
>(
this)->DumbStepper(yMiddle, dydxMid, halfStep,
130 fMidPoint =
G4ThreeVector(yMiddle[0], yMiddle[1], yMiddle[2]);
133 static_cast<T_Stepper*
>(
this)->DumbStepper(yInitial, dydx, hstep, yOneStep);
134 for(
unsigned int i = 0; i <
N; ++i)
136 yError[i] = yOutput[i] - yOneStep[i];
139 T_Stepper::IntegratorCorrection;
144 fInitialPoint =
G4ThreeVector(yInitial[0], yInitial[1], yInitial[2]);
145 fFinalPoint =
G4ThreeVector(yOutput[0], yOutput[1], yOutput[2]);