quadraticLinearFitPolynomial Class Reference

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...

Static Public Member Functions

static label nTerms (const direction dim)
 
static void addCoeffs (scalar *coeffs, const vector &d, const scalar weight, const direction dim)
 

Detailed Description

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 50 of file quadraticLinearFitPolynomial.H.

Member Function Documentation

◆ nTerms()

static label nTerms ( const direction  dim)
inlinestatic

Definition at line 56 of file quadraticLinearFitPolynomial.H.

References quadraticLinearFitPolynomial::addCoeffs().

Here is the call graph for this function:

◆ addCoeffs()

static void addCoeffs ( scalar *  coeffs,
const vector d,
const scalar  weight,
const direction  dim 
)
inlinestatic

Definition at line 67 of file quadraticLinearFitPolynomial.H.

References Foam::sqr(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().

Referenced by quadraticLinearFitPolynomial::nTerms().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: