35 #ifndef cubicUpwindFitPolynomial_H
36 #define cubicUpwindFitPolynomial_H
75 coeffs[curIdx++] = weight;
76 coeffs[curIdx++] = weight*d.
x();
77 coeffs[curIdx++] = weight*
sqr(d.
x());
78 coeffs[curIdx++] = weight*
pow(d.
x(),3);
82 coeffs[curIdx++] = weight*d.
y();
83 coeffs[curIdx++] = weight*d.
x()*d.
y();
84 coeffs[curIdx++] = weight*
sqr(d.
y());
85 coeffs[curIdx++] = weight*d.
x()*
sqr(d.
y());
89 coeffs[curIdx++] = weight*d.
z();
90 coeffs[curIdx++] = weight*d.
x()*d.
z();
91 coeffs[curIdx++] = weight*d.
y()*d.
z();
92 coeffs[curIdx++] = weight*
sqr(d.
z());
93 coeffs[curIdx++] = weight*d.
x()*d.
y()*d.
z();
94 coeffs[curIdx++] = weight*d.
x()*
sqr(d.
z());