56 c1_(coeffsDict().getOrDefault<scalar>(
"c1", 1.e-4))
64 Info<<
"New merit function value " << newMeritValue_ <<
endl;
65 Info<<
"Old merit function value " << oldMeritValue_ <<
endl;
66 Info<<
"Extrapolated merit function value "
67 << oldMeritValue_ + c1_*step_*directionalDeriv_ <<
endl;
68 return newMeritValue_ < oldMeritValue_ + c1_*step_*directionalDeriv_;
74 stepUpdate_->updateStep(step_);
75 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()
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.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.