First degree polynominal function. More...
#include <polyDegree1.H>


Public Member Functions | |
| TypeName ("polyDegree1") | |
| Runtime type information. | |
| polyDegree1 (const labelVector &dirs) | |
| Construct from nTerms. | |
| virtual | ~polyDegree1 ()=default |
| Destructor. | |
| virtual scalar | value (const vector &vec) |
| virtual const scalarField & | termValues (const vector &vec) |
| Public Member Functions inherited from multiDimPolyFunctions | |
| 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. | |
| label & | nTerms () |
| scalarField & | coeffs () |
Additional Inherited Members | |
| Static Public Member Functions inherited from multiDimPolyFunctions | |
| static autoPtr< multiDimPolyFunctions > | New (const word &multiDimPolyFunctionsType, const labelVector &dirs) |
| Select a multiDimPolyFunctions. | |
| Protected Attributes inherited from multiDimPolyFunctions | |
| label | nTerms_ |
| Number of polynomial term. | |
| const labelVector | geomDir_ |
| vector | geomCorrection_ |
| scalarField | coeffs_ |
| scalarField | termValues_ |
First degree polynominal function.
c0 + c1*x + c2*y + c3*z
Original code supplied by Henning Scheufler, DLR (2019)
Definition at line 55 of file polyDegree1.H.
|
explicit |
Construct from nTerms.
Definition at line 35 of file polyDegree1.C.
References multiDimPolyFunctions::coeffs_, forAll, multiDimPolyFunctions::geomDir_, multiDimPolyFunctions::multiDimPolyFunctions(), multiDimPolyFunctions::nTerms_, multiDimPolyFunctions::termValues_, and Foam::Zero.

|
virtualdefault |
Destructor.
| TypeName | ( | "polyDegree1" | ) |
Runtime type information.
|
virtual |
Implements multiDimPolyFunctions.
Definition at line 57 of file polyDegree1.C.
References multiDimPolyFunctions::coeffs_, forAll, multiDimPolyFunctions::geomDir_, and value().
Referenced by value().


|
virtual |
Implements multiDimPolyFunctions.
Definition at line 73 of file polyDegree1.C.
References forAll, multiDimPolyFunctions::geomDir_, and multiDimPolyFunctions::termValues_.