11 static const double coeff[6] = {-.08618265, -.0020471805, -7.7771331e-4, -.0058433565, -5.0241491e-4, .0010223353};
34 const double x10 = 1.;
35 const double x11 =
bz / 40.;
36 const double x12 = x11 * 2. * x11 - x10;
37 const double x13 = x11 * 2. * x12 - x11;
38 const double x14 = x11 * 2. * x13 - x12;
39 const double x15 = x11 * 2. * x14 - x13;
40 const double x16 = x11 * 2. * x15 - x14;
41 const double x17 = x11 * 2. * x16 - x15;
42 const double x18 = x11 * 2. * x17 - x16;
43 const double x19 = x11 * 2. * x18 - x17;
44 const double x20 = 1.;
45 const double x21 =
zcell;
46 const double x22 = x21 * 2. * x21 - x20;
47 const double x23 = x21 * 2. * x22 - x21;
48 const double x24 = x21 * 2. * x23 - x22;
49 const double x25 = x21 * 2. * x24 - x23;
50 const double x26 = x21 * 2. * x25 - x24;
51 const double x27 = x21 * 2. * x26 - x25;
59 return -1 * (coeff[0] * x11 * x21 + coeff[1] * x17 * x21 + coeff[2] * x21 + coeff[3] * x11 * x27 + coeff[4] * x22 +
66 static const double coeff[3] = {.01069525, .010364504, .0021662697};
88 const double x11 =
bz / 40.;
89 const double x20 = 1.;
90 const double x21 =
zcell;
91 const double x22 = x21 * 2. * x21 - x20;
93 return coeff[0] + coeff[1] * x11 * x21 + coeff[2] * x22;