Fits a quadratic polynomial of the merit function as a function of step and finds the "optimal" value. More...
Public Member Functions | |
TypeName ("quadratic") | |
Runtime type information. More... | |
quadratic (const dictionary &dict) | |
Construct from components. More... | |
virtual | ~quadratic ()=default |
Destructor. More... | |
virtual void | updateStep (scalar &step) |
Update step in given direction. More... | |
virtual void | setDeriv (const scalar deriv) |
Set objective derivative. More... | |
virtual void | setNewMeritValue (const scalar value) |
Set new merit value. More... | |
virtual void | setOldMeritValue (const scalar value) |
Set old merit value. More... | |
![]() | |
TypeName ("stepUpdate") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, stepUpdate, dictionary,(const dictionary &dict),(dict)) | |
stepUpdate (const dictionary &dict) | |
Construct from components. More... | |
virtual | ~stepUpdate ()=default |
Destructor. More... | |
Protected Attributes | |
scalar | minRatio_ |
scalar | firstMeritValue_ |
scalar | secondMeritValue_ |
scalar | meritDerivative_ |
![]() | |
const dictionary | dict_ |
Additional Inherited Members | |
![]() | |
static autoPtr< stepUpdate > | New (const dictionary &dict) |
Return a reference to the selected turbulence model. More... | |
![]() | |
const dictionary & | coeffsDict () |
Optional coeffs dict. More... | |
Fits a quadratic polynomial of the merit function as a function of step and finds the "optimal" value.
Definition at line 54 of file quadratic.H.
quadratic | ( | const dictionary & | dict | ) |
Construct from components.
Definition at line 49 of file quadratic.C.
|
virtualdefault |
Destructor.
TypeName | ( | "quadratic" | ) |
Runtime type information.
|
virtual |
Update step in given direction.
Implements stepUpdate.
Definition at line 61 of file quadratic.C.
References Foam::endl(), and Foam::Info.
|
virtual |
|
virtual |
|
virtual |
|
protected |
Definition at line 62 of file quadratic.H.
|
protected |
Definition at line 63 of file quadratic.H.
|
protected |
Definition at line 64 of file quadratic.H.
|
protected |
Definition at line 65 of file quadratic.H.