Go to the documentation of this file.
26 return out << B.
x[0] <<
" | " << B.
y[0] <<
" | " << B.
z[0];
37 for (
int i = 0;
i < 21;
i++)
64 B.
x =
cx[0] +
cx[1] *
x +
cx[2] *
y +
cx[3] * x2 +
cx[4] * xy +
cx[5] * y2
65 +
cx[6] * x3 +
cx[7] * x2y +
cx[8] * xy2 +
cx[9] * y3 +
cx[10] * x4
66 +
cx[11] * x3y +
cx[12] * x2y2 +
cx[13] * xy3 +
cx[14] * y4
67 +
cx[15] * x5 +
cx[16] * x4y +
cx[17] * x3y2 +
cx[18] * x2y3
68 +
cx[19] * xy4 +
cx[20] * y5;
70 B.
y =
cy[0] +
cy[1] *
x +
cy[2] *
y +
cy[3] * x2 +
cy[4] * xy +
cy[5] * y2
71 +
cy[6] * x3 +
cy[7] * x2y +
cy[8] * xy2 +
cy[9] * y3 +
cy[10] * x4
72 +
cy[11] * x3y +
cy[12] * x2y2 +
cy[13] * xy3 +
cy[14] * y4
73 +
cy[15] * x5 +
cy[16] * x4y +
cy[17] * x3y2 +
cy[18] * x2y3
74 +
cy[19] * xy4 +
cy[20] * y5;
76 B.
z =
cz[0] +
cz[1] *
x +
cz[2] *
y +
cz[3] * x2 +
cz[4] * xy +
cz[5] * y2
77 +
cz[6] * x3 +
cz[7] * x2y +
cz[8] * xy2 +
cz[9] * y3 +
cz[10] * x4
78 +
cz[11] * x3y +
cz[12] * x2y2 +
cz[13] * xy3 +
cz[14] * y4
79 +
cz[15] * x5 +
cz[16] * x4y +
cz[17] * x3y2 +
cz[18] * x2y3
80 +
cz[19] * xy4 +
cz[20] * y5;
142 fvec dz1 = B1z - B0z, dz2 = B2z - B0z;
144 fvec w21 = -dz2 * det;
145 fvec w22 = dz1 * det;
146 fvec w11 = -dz2 * w21;
147 fvec w12 = -dz1 * w22;
152 cx1 = dB1 * w11 + dB2 * w12;
153 cx2 = dB1 * w21 + dB2 * w22;
158 cy1 = dB1 * w11 + dB2 * w12;
159 cy2 = dB1 * w21 + dB2 * w22;
164 cz1 = dB1 * w11 + dB2 * w12;
165 cz2 = dB1 * w21 + dB2 * w22;
177 cx1 = (B1.
x - B0.
x) * dzi;
178 cy1 = (B1.
y - B0.
y) * dzi;
179 cz1 = (B1.
z - B0.
z) * dzi;
189 cx0 += (
cx1 + cx2dz) * dz;
190 cy0 += (
cy1 + cy2dz) * dz;
191 cz0 += (
cz1 + cz2dz) * dz;
192 cx1 += cx2dz + cx2dz;
193 cy1 += cy2dz + cy2dz;
194 cz1 += cz2dz + cz2dz;
void GetOneEntry(float reg[10], const int iVec)
friend F32vec4 rcp(const F32vec4 &a)
void Get(const fvec z_, fvec *B) const
L1FieldRegion(float reg[10])
L1FieldValue Get(const fvec z)
void Set(const L1FieldValue &B0, const fvec B0z, const L1FieldValue &B1, const fvec B1z)
void SetOneEntry(const L1FieldRegion &f1, const int i1)
class L1FieldValue _fvecalignment
void Set(const L1FieldValue &B0, const fvec B0z, const L1FieldValue &B1, const fvec B1z, const L1FieldValue &B2, const fvec B2z)
void GetFieldValue(const fvec &x, const fvec &y, L1FieldValue &B) const
void SetOneEntry(const int i0, const L1FieldRegion &f1, const int i1)
void Combine(L1FieldValue &B, fvec w)
friend ostream & operator<<(ostream &out, L1FieldValue &B)