base class for polynomial functions More...
#include <multiDimPolyFunctions.H>


Public Member Functions | |
| TypeName ("multiDimPolyFunctions") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, multiDimPolyFunctions, word,(const Vector< label > dirs),(dirs)) | |
| multiDimPolyFunctions (const labelVector &dirs) | |
| Construct with directions. | |
| virtual | ~multiDimPolyFunctions ()=default |
| Destructor. | |
| virtual scalar | value (const vector &vec)=0 |
| virtual const scalarField & | termValues (const vector &vec)=0 |
| label & | nTerms () |
| scalarField & | coeffs () |
Static Public Member Functions | |
| static autoPtr< multiDimPolyFunctions > | New (const word &multiDimPolyFunctionsType, const labelVector &dirs) |
| Select a multiDimPolyFunctions. | |
Protected Attributes | |
| label | nTerms_ |
| Number of polynomial term. | |
| const labelVector | geomDir_ |
| vector | geomCorrection_ |
| scalarField | coeffs_ |
| scalarField | termValues_ |
base class for polynomial functions
Original code supplied by Henning Scheufler, DLR (2019)
Definition at line 52 of file multiDimPolyFunctions.H.
|
explicit |
Construct with directions.
Definition at line 60 of file multiDimPolyFunctions.C.
References coeffs_, geomCorrection_, geomDir_, nTerms_, Foam::pos0(), termValues_, x, and y.
Referenced by declareRunTimeSelectionTable(), and polyDegree1::polyDegree1().


|
virtualdefault |
Destructor.
| TypeName | ( | "multiDimPolyFunctions" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| multiDimPolyFunctions | , | ||
| word | , | ||
| (const Vector< label > dirs) | , | ||
| (dirs) | ) |
|
static |
Select a multiDimPolyFunctions.
Definition at line 36 of file multiDimPolyFunctions.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInLookup.

|
pure virtual |
Implemented in polyDegree1.
|
pure virtual |
Implemented in polyDegree1.
|
inline |
Definition at line 126 of file multiDimPolyFunctions.H.
References nTerms_.
|
inline |
Definition at line 131 of file multiDimPolyFunctions.H.
References coeffs_.
|
protected |
Number of polynomial term.
Definition at line 61 of file multiDimPolyFunctions.H.
Referenced by multiDimPolyFunctions(), nTerms(), and polyDegree1::polyDegree1().
|
protected |
Definition at line 63 of file multiDimPolyFunctions.H.
Referenced by multiDimPolyFunctions(), polyDegree1::polyDegree1(), polyDegree1::termValues(), and polyDegree1::value().
|
protected |
Definition at line 65 of file multiDimPolyFunctions.H.
Referenced by multiDimPolyFunctions().
|
protected |
Definition at line 67 of file multiDimPolyFunctions.H.
Referenced by coeffs(), multiDimPolyFunctions(), polyDegree1::polyDegree1(), and polyDegree1::value().
|
protected |
Definition at line 69 of file multiDimPolyFunctions.H.
Referenced by multiDimPolyFunctions(), polyDegree1::polyDegree1(), and polyDegree1::termValues().