39#ifndef multiDimPolyFitter_H
40#define multiDimPolyFitter_H
71 const word& polyFunctionName,
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
multiDimPolyFitter(const word &polyFunctionName, const labelVector &geomDirs)
Construct from components.
Field< T > computeMatrixSource(const List< scalarField > &listPolyTerms, const List< T > &listValue)
Compute source.
void fillMatrix(const scalarField &polyTerms, const T &value)
scalarSymmetricSquareMatrix computeInverse(const List< scalarField > &listPolyTerms)
Compute inverse.
Field< T > fitData(const List< scalarField > &listPolyTerms, const List< T > &listValue)
Fit data.
A simple square matrix solver with scalar coefficients.
A class for handling words, derived from Foam::string.
Vector< label > labelVector
Vector of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
SymmetricSquareMatrix< scalar > scalarSymmetricSquareMatrix
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)