7 static const double coeff[18] = {.16916627,
27 double x10, x11, x12, x13, x14, x20, x21, x22, x23, x24, x25;
68 x11 = fabs(
ycell) * 2. - 1.;
69 x12 = x11 * 2. * x11 - x10;
70 x13 = x11 * 2. * x12 - x11;
71 x14 = x11 * 2. * x13 - x12;
73 x21 = fabs(
zcell) * 2. - 1.;
74 x22 = x21 * 2. * x21 - x20;
75 x23 = x21 * 2. * x22 - x21;
76 x24 = x21 * 2. * x23 - x22;
77 x25 = x21 * 2. * x24 - x23;
79 return coeff[0] + coeff[1] * x11 + coeff[2] * x21 + coeff[3] * x22 + coeff[4] * x12 + coeff[5] * x11 * x21 +
80 coeff[6] * x13 + coeff[7] * x12 * x22 + coeff[8] * x12 * x23 + coeff[9] * x11 * x24 + coeff[10] * x12 * x21 +
81 coeff[11] * x14 + coeff[12] * x11 * x22 + coeff[13] * x13 * x22 + coeff[14] * x13 * x21 +
82 coeff[15] * x12 * x24 + coeff[16] * x11 * x25 + coeff[17] * x11 * x23;
88 static const double coeff[9] = {.0049089564,
102 double x11, x12, x13, x14, x15, x16, x21, x22, x23, x24, x25, x26, x27, x28, x29;
145 x11 = fabs(
ycell) * 2. - 1.;
152 x21 = fabs(
zcell) * 2. - 1.;
162 ret_val = coeff[0] + coeff[1] * x21 + coeff[2] * x11 + coeff[3] * x22 + coeff[4] * x11 * x21 + coeff[5] * x16 * x22 +
163 coeff[6] * x16 * x23 + coeff[7] * x11 * x22 + coeff[8] * x29;
171 static const double coeff[27] = {22.384492, 10.562894, 14.032961, 7.06233, 3.5523289, -5.0176704, 1.999075,
172 1.0635552, -3.2770096, -2.7384958, .98411495, -2.0963696, -1.4006525, -.47542728,
173 .64179451, -.80308436, .42964647, -.4153324, .50423068, .35049792, -.42595896,
174 -.30947641, .16671267, -.21336584, .22979164, .23481052, .32550435};
180 double x10, x11, x12, x13, x14, x15, x16, x17, x20, x21, x22, x23, x24, x25, x26, x27;
223 x11 = fabs(
ycell) * 2. - 1.;
224 x12 = x11 * 2. * x11 - x10;
225 x13 = x11 * 2. * x12 - x11;
226 x14 = x11 * 2. * x13 - x12;
227 x15 = x11 * 2. * x14 - x13;
228 x16 = x11 * 2. * x15 - x14;
229 x17 = x11 * 2. * x16 - x15;
231 x21 = fabs(
zcell) * 2. - 1.;
232 x22 = x21 * 2. * x21 - x20;
233 x23 = x21 * 2. * x22 - x21;
234 x24 = x21 * 2. * x23 - x22;
235 x25 = x21 * 2. * x24 - x23;
236 x26 = x21 * 2. * x25 - x24;
237 x27 = x21 * 2. * x26 - x25;
239 ret_val = coeff[0] + coeff[1] * x11 + coeff[2] * x21 + coeff[3] * x22 + coeff[4] * x23 + coeff[5] * x11 * x21 +
240 coeff[6] * x24 + coeff[7] * x12 + coeff[8] * x11 * x22 + coeff[9] * x11 * x23 + coeff[10] * x25 +
241 coeff[11] * x11 * x24 + coeff[12] * x11 * x25 + coeff[13] * x13 + coeff[14] * x12 * x21 +
242 coeff[15] * x11 * x26 + coeff[16] * x26 + coeff[17] * x11 * x27 + coeff[18] * x17 * x21 +
243 coeff[19] * x15 * x21 + coeff[20] * x12 * x22 + coeff[21] * x12 * x23 + coeff[22] * x27 +
244 coeff[23] * x14 * x22 + coeff[24] * x16 * x21 + coeff[25] * x17 + coeff[26] * x17 * x22;
252 static const double coeff[17] = {5.5533465,
274 double x10, x11, x12, x13, x14, x15, x16, x17, x18, x20, x21, x22, x23, x24, x25, x26, x27, x28, x29;
317 x11 = fabs(
ycell) * 2. - 1.;
318 x12 = x11 * 2. * x11 - x10;
319 x13 = x11 * 2. * x12 - x11;
320 x14 = x11 * 2. * x13 - x12;
321 x15 = x11 * 2. * x14 - x13;
322 x16 = x11 * 2. * x15 - x14;
323 x17 = x11 * 2. * x16 - x15;
324 x18 = x11 * 2. * x17 - x16;
327 x21 = fabs(
zcell) * 2. - 1.;
328 x22 = x21 * 2. * x21 - x20;
329 x23 = x21 * 2. * x22 - x21;
330 x24 = x21 * 2. * x23 - x22;
331 x25 = x21 * 2. * x24 - x23;
332 x26 = x21 * 2. * x25 - x24;
333 x27 = x21 * 2. * x26 - x25;
334 x28 = x21 * 2. * x27 - x26;
335 x29 = x21 * 2. * x28 - x27;
337 ret_val = coeff[0] * x21 + coeff[1] + coeff[2] * x22 + coeff[3] * x23 + coeff[4] * x24 + coeff[5] * x25 +
338 coeff[6] * x11 * x23 + coeff[7] * x26 + coeff[8] * x11 * x25 + coeff[9] * x11 * x24 +
339 coeff[10] * x11 * x22 + coeff[11] * x27 + coeff[12] * x28 + coeff[13] * x11 * x26 + coeff[14] * x29 +
340 coeff[15] * x16 * x21 + coeff[16] * x18 * x21;