All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
quadraticFitPolynomial Class Reference

Quadratic polynomial for centred interpolation fitting. 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 polynomial for centred interpolation fitting.

Can be used with the CentredFit scheme to create a quadratic surface interpolation scheme

Definition at line 48 of file quadraticFitPolynomial.H.

Member Function Documentation

◆ nTerms()

static label nTerms ( const direction  dim)
inlinestatic

Definition at line 54 of file quadraticFitPolynomial.H.

References quadraticFitPolynomial::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 65 of file quadraticFitPolynomial.H.

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

Referenced by quadraticFitPolynomial::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: