39 #ifndef multiDimPolyFunctions_H 40 #define multiDimPolyFunctions_H 106 const word& multiDimPolyFunctionsType,
static autoPtr< multiDimPolyFunctions > New(const word &multiDimPolyFunctionsType, const labelVector &dirs)
Select a multiDimPolyFunctions.
virtual scalar value(const vector &vec)=0
A class for handling words, derived from Foam::string.
base class for polynomial functions
virtual ~multiDimPolyFunctions()=default
Destructor.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
label nTerms_
Number of polynomial term.
multiDimPolyFunctions(const labelVector &dirs)
Construct with directions.
declareRunTimeSelectionTable(autoPtr, multiDimPolyFunctions, word,(const Vector< label > dirs),(dirs))
const labelVector geomDir_
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.
TypeName("multiDimPolyFunctions")
Runtime type information.
virtual const scalarField & termValues(const vector &vec)=0