Abstract base class for step update methods used in line search. More...
#include <stepUpdate.H>


Public Member Functions | |
| TypeName ("stepUpdate") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, stepUpdate, dictionary,(const dictionary &dict),(dict)) | |
| stepUpdate (const dictionary &dict) | |
| Construct from components. | |
| virtual | ~stepUpdate ()=default |
| Destructor. | |
| virtual void | updateStep (scalar &step)=0 |
| Update the line search step. | |
| virtual void | setDeriv (const scalar deriv) |
| Set objective derivative. | |
| virtual void | setNewMeritValue (const scalar value) |
| Set new merit value. | |
| virtual void | setOldMeritValue (const scalar value) |
| Set old merit value. | |
Static Public Member Functions | |
| static autoPtr< stepUpdate > | New (const dictionary &dict) |
| Return a reference to the selected turbulence model. | |
Protected Member Functions | |
| const dictionary & | coeffsDict () |
| Optional coeffs dict. | |
Protected Attributes | |
| const dictionary | dict_ |
Abstract base class for step update methods used in line search.
Definition at line 50 of file stepUpdate.H.
| stepUpdate | ( | const dictionary & | dict | ) |
|
virtualdefault |
Destructor.
|
protected |
Optional coeffs dict.
Definition at line 36 of file stepUpdate.C.
References dict_, and Foam::type().
Referenced by bisection::bisection(), and quadratic::quadratic().


| TypeName | ( | "stepUpdate" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| stepUpdate | , | ||
| dictionary | , | ||
| (const dictionary &dict) | , | ||
| (dict) | ) |
References dict.
|
static |
Return a reference to the selected turbulence model.
Definition at line 52 of file stepUpdate.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::Info.

|
pure virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
Definition at line 56 of file stepUpdate.H.
Referenced by coeffsDict(), and stepUpdate().