67 scalar value = coeffs_[0];
72 value += coeffs_[i+1]*vec[i];
90 termValues_[dimCounter] = vec[i];
void resize(const label len)
Adjust allocated size of list.
polyDegree1(const labelVector &dirs)
Construct from nTerms.
Macros for easy insertion into run-time selection tables.
#define forAll(list, i)
Loop across all elements in list.
A class for handling words, derived from Foam::string.
base class for polynomial functions
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
label nTerms_
Number of polynomial term.
defineTypeNameAndDebug(combustionModel, 0)
virtual const scalarField & termValues(const vector &vec)
const labelVector geomDir_
virtual scalar value(const vector &vec)
First degree polynominal function.
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)
static constexpr const zero Zero
Global zero (0)