67 scalar value = coeffs_[0];
72 value += coeffs_[i+1]*vec[i];
90 termValues_[dimCounter] = vec[i];
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
void resize(const label len)
Adjust allocated size of list.
base class for polynomial functions
const labelVector geomDir_
label nTerms_
Number of polynomial term.
First degree polynominal function.
virtual const scalarField & termValues(const vector &vec)
virtual scalar value(const vector &vec)
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
static constexpr const zero Zero
Global zero (0)
#define forAll(list, i)
Loop across all elements in list.