49Foam::ArmijoConditions::ArmijoConditions
56 lineSearch(
dict, time, UpdateMethod),
70 <<
"c1, step, directionalDeriv "
73 DebugInfo<<
"Extrapolated merit function value "
81 stepUpdate_->updateStep(step_);
82 Info<<
"Using step " << step_ <<
endl;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Class satisfying the Armijo line search conditions.
virtual bool converged()
Return the correction of the design variables.
virtual void updateStep()
Update the line search step based on the specific line search strategy, e.g. bisection,...
scalar c1_
Multiplier of the merit function reduction computed using a first-order Taylor expansion.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Abstract base class for line search methods.
const dictionary & coeffsDict()
Optional coeffs dict.
scalar newMeritValue_
New merit value from this opt cycle.
scalar oldMeritValue_
Old merit value from this opt cycle.
autoPtr< stepUpdate > stepUpdate_
Mechanism to update method if line search conditions are not set.
scalar step_
Correction multiplier.
scalar directionalDeriv_
Directional derivative of the merit function.
Abstract base class for optimisation methods.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define DebugInfo
Report an information message using Foam::Info.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.