Abstract base class for step update methods used in line search. More...
Public Member Functions | |
TypeName ("stepUpdate") | |
declareRunTimeSelectionTable (autoPtr, stepUpdate, dictionary,(const dictionary &dict),(dict)) | |
stepUpdate (const dictionary &dict) | |
virtual | ~stepUpdate ()=default |
virtual void | updateStep (scalar &step)=0 |
virtual void | setDeriv (const scalar deriv) |
virtual void | setNewMeritValue (const scalar value) |
virtual void | setOldMeritValue (const scalar value) |
Static Public Member Functions | |
static autoPtr< stepUpdate > | New (const dictionary &dict) |
Protected Member Functions | |
const dictionary & | coeffsDict () |
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 | ) |
Definition at line 44 of file stepUpdate.C.
|
virtualdefault |
|
protected |
Definition at line 36 of file stepUpdate.C.
References stepUpdate::dict_, dictionary::optionalSubDict(), and Foam::type().
TypeName | ( | "stepUpdate" | ) |
declareRunTimeSelectionTable | ( | autoPtr | , |
stepUpdate | , | ||
dictionary | , | ||
(const dictionary &dict) | , | ||
(dict) | |||
) |
|
static |
Definition at line 52 of file stepUpdate.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, dictionary::getOrDefault(), Foam::Info, and Foam::type().
|
virtual |
Reimplemented in quadratic.
Definition at line 78 of file stepUpdate.C.
|
virtual |
Reimplemented in quadratic.
Definition at line 84 of file stepUpdate.C.
|
virtual |
Reimplemented in quadratic.
Definition at line 90 of file stepUpdate.C.
|
protected |
Definition at line 56 of file stepUpdate.H.
Referenced by stepUpdate::coeffsDict().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.