123 virtual void setDeriv(
const scalar deriv);
virtual void setOldMeritValue(const scalar value)
Set old merit value.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
declareRunTimeSelectionTable(autoPtr, stepUpdate, dictionary,(const dictionary &dict),(dict))
static autoPtr< stepUpdate > New(const dictionary &dict)
Return a reference to the selected turbulence model.
const dictionary & coeffsDict()
Optional coeffs dict.
virtual void updateStep(scalar &step)=0
Update the line search step.
virtual ~stepUpdate()=default
Destructor.
virtual void setDeriv(const scalar deriv)
Set objective derivative.
Abstract base class for step update methods used in line search.
TypeName("stepUpdate")
Runtime type information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.
virtual void setNewMeritValue(const scalar value)
Set new merit value.