49 using namespace field_utils;
66 yOutput[i] = yTemp[i] = yInput[i];
76 b31 = 3./52., b32 = 9./52.,
77 b41 = 12955./26244., b42 = -15925./8748.,
79 b51 = -10383./52480., b52 = 13923./10496.,
80 b53 = -176553./199424., b54 = 505197./997120.,
81 b61 = 1403./7236., b62 = -429./268., b63 = 733330./309339.,
82 b64 = -7884./8911., b65 = 104960./113967.,
83 b71 = 181./2700., b72 = 0., b73 = 656903./1846800.,
84 b74 = 19683./106400., b75 = 34112./110565.,
87 const G4double dc1 = b71 - 11377./154575.,
89 dc3 = b73 - 35378291./105729300.,
90 dc4 = b74 - 343359./1522850.,
91 dc5 = b75 - 535952./1947645.,
92 dc6 = b76 - 134./17175.,
97 yTemp[i] = yInput[i] + hstep * b21 * dydx[i];
101 yTemp[i] = yInput[i] + hstep * (b31 * dydx[i] + b32 * ak2[i]);
105 yTemp[i] = yInput[i] + hstep * (b41 * dydx[i] + b42 * ak2[i] +
110 yTemp[i] = yInput[i] + hstep * (b51 * dydx[i] + b52 * ak2[i] +
111 b53 * ak3[i] + b54 * ak4[i]);
115 yTemp[i] = yInput[i] + hstep * (b61 * dydx[i] + b62 * ak2[i] +
116 b63 * ak3[i] + b64 * ak4[i] +
121 yOutput[i] = yInput[i] + hstep * (b71 * dydx[i] + b72 * ak2[i] +
122 b73 * ak3[i] + b74 * ak4[i] +
123 b75 * ak5[i] + b76 * ak6[i]);
124 if (dydxOutput && yError)
128 yError[i] = hstep * (dc1 * dydx[i] + dc2 * ak2[i] + dc3 * ak3[i] +
129 dc4 * ak4[i] + dc5 * ak5[i] + dc6 * ak6[i] +
130 dc7 * dydxOutput[i]);