base class for polynomial functions More...


Public Member Functions | |
| TypeName ("multiDimPolyFunctions") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, multiDimPolyFunctions, word,(const Vector< label > dirs),(dirs)) | |
| multiDimPolyFunctions (const labelVector &dirs) | |
| Construct with directions. More... | |
| virtual | ~multiDimPolyFunctions ()=default |
| Destructor. More... | |
| 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. More... | |
Protected Attributes | |
| label | nTerms_ |
| Number of polynomial term. More... | |
| 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.
|
virtualdefault |
Destructor.
| TypeName | ( | "multiDimPolyFunctions" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| multiDimPolyFunctions | , | ||
| word | , | ||
| (const Vector< label > dirs) | , | ||
| (dirs) | |||
| ) |
|
static |
Select a multiDimPolyFunctions.
Definition at line 37 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 multiDimPolyFunctions::nTerms_.
|
inline |
Definition at line 131 of file multiDimPolyFunctions.H.
References multiDimPolyFunctions::coeffs_.
|
protected |
Number of polynomial term.
Definition at line 61 of file multiDimPolyFunctions.H.
Referenced by multiDimPolyFunctions::nTerms().
|
protected |
Definition at line 63 of file multiDimPolyFunctions.H.
Referenced by polyDegree1::value().
|
protected |
Definition at line 65 of file multiDimPolyFunctions.H.
|
protected |
Definition at line 67 of file multiDimPolyFunctions.H.
Referenced by multiDimPolyFunctions::coeffs(), and polyDegree1::value().
|
protected |
Definition at line 69 of file multiDimPolyFunctions.H.