Quadratic/linear polynomial for interpolation fitting: quadratic normal to the face, linear in the plane of the face for consistency with 2nd-order Gauss. More...
#include <finiteVolume/quadraticLinearFitPolynomial.H>
Quadratic/linear polynomial for interpolation fitting: quadratic normal to the face, linear in the plane of the face for consistency with 2nd-order Gauss.
Can be used with the CentredFit scheme to create a quadratic surface interpolation scheme
Definition at line 51 of file quadraticLinearFitPolynomial.H.
Static Public Member Functions | |
static label | nTerms (const direction dim) |
static void | addCoeffs (scalar *coeffs, const vector &d, const scalar weight, const direction dim) |
static label nTerms | ( | const direction | dim ) | [inline, static]
|
Definition at line 57 of file quadraticLinearFitPolynomial.H.
static void addCoeffs | ( | scalar * | coeffs, |
const vector & | d, | ||
const scalar | weight, | ||
const direction | dim | ||
) | [inline, static]
|
Definition at line 68 of file quadraticLinearFitPolynomial.H.
References Foam::sqr(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().