35 #ifndef quadraticUpwindFitPolynomial_H 36 #define quadraticUpwindFitPolynomial_H 75 coeffs[curIdx++] = weight;
76 coeffs[curIdx++] = weight*d.
x();
77 coeffs[curIdx++] = weight*
sqr(d.
x());
81 coeffs[curIdx++] = weight*d.
y();
82 coeffs[curIdx++] = weight*d.
x()*d.
y();
84 coeffs[curIdx++] = weight*
sqr(d.
y());
88 coeffs[curIdx++] = weight*d.
z();
89 coeffs[curIdx++] = weight*d.
x()*d.
z();
90 coeffs[curIdx++] = weight*
sqr(d.
z());
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Quadratic polynomial for upwind biased interpolation fitting.
static void addCoeffs(scalar *coeffs, const vector &d, const scalar weight, const direction dim)
static label nTerms(const direction dim)