49 using namespace field_utils;
66 yOutput[i] = yTemp[i] = yInput[i];
76 b31 = 11./120., b32 = 11./40.,
77 b41 = 106865./87808., b42 = -408375./87808.,
79 b51 = 79503./121000., b52 = -1053./440.,
80 b53 = 147753./56870., b54 = 27048./710875.,
81 b61 = 89303./78045., b62 = -2025./473.,
82 b63 = 994650./244541., b64 = -2547216./28122215.,
84 b71 = 1247./10890., b72 = 0., b73 = 57375./108053.,
85 b74 = -1229312./1962015., b75 = 125./207.,
88 const G4double dc1 = b71 - 21487./185130.,
90 dc3 = b73 - 963225./1836901.,
91 dc4 = b74 + 39864832./33354255.,
92 dc5 = b75 - 2575./3519.,
93 dc6 = b76 - 4472./4845.,
98 yTemp[i] = yInput[i] + hstep * b21 * dydx[i];
102 yTemp[i] = yInput[i] + hstep * (b31 * dydx[i] + b32 * ak2[i]);
106 yTemp[i] = yInput[i] + hstep * (b41 * dydx[i] + b42 * ak2[i] +
111 yTemp[i] = yInput[i] + hstep * (b51 * dydx[i] + b52 * ak2[i] +
112 b53 * ak3[i] + b54 * ak4[i]);
116 yTemp[i] = yInput[i] + hstep * (b61 * dydx[i] + b62 * ak2[i] +
117 b63 * ak3[i] + b64 * ak4[i] +
122 yOutput[i] = yInput[i] + hstep * (b71 * dydx[i] + b72 * ak2[i] +
123 b73 * ak3[i] + b74 * ak4[i] +
124 b75 * ak5[i] + b76 * ak6[i]);
125 if (dydxOutput && yError)
129 yError[i] = hstep * (dc1 * dydx[i] + dc2 * ak2[i] + dc3 * ak3[i] +
130 dc4 * ak4[i] + dc5 * ak5[i] + dc6 * ak6[i] +
131 dc7 * dydxOutput[i]);