39 #ifndef multiDimPolyFitter_H 40 #define multiDimPolyFitter_H 71 const word& polyFunctionName,
scalarSymmetricSquareMatrix computeInverse(const List< scalarField > &listPolyTerms)
Compute inverse.
void fillMatrix(const scalarField &polyTerms, const T &value)
label n() const noexcept
The number of columns.
A class for handling words, derived from Foam::string.
Fit a polynominal function with the help of multiDimPolyFunction.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
A templated (N x N) square matrix of objects of <Type>, containing N*N elements, derived from Matrix...
Field< T > computeMatrixSource(const List< scalarField > &listPolyTerms, const List< T > &listValue)
Compute source.
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 > fitData(const List< scalarField > &listPolyTerms, const List< T > &listValue)
Fit data.
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)