Go to the documentation of this file.
67 void operator=(
const BFGS&) =
delete;
131 virtual ~BFGS() =
default;
144 virtual void write();
label nSteepestDescent_
Number of first steepest descent steps.
label counter_
Optimisation cycle counter.
void readFromDict()
Read old info from dict.
virtual ~BFGS()=default
Destructor.
scalar etaHessian_
Step for the Newton method.
virtual void write()
Write old info to dict.
The quasi-Newton BFGS formula.
Abstract base class for optimisation methods.
virtual void updateOldCorrection(const scalarField &oldCorrection)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool scaleFirstHessian_
Scale the iniitial unitary Hessian approximation.
Mesh data needed to do the Finite Volume discretisation.
scalarField derivativesOld_
The previous derivatives.
void allocateMatrices()
Allocate matrices in the first optimisation cycle.
scalar curvatureThreshold_
Curvature threshold.
TypeName("BFGS")
Runtime type information.
scalarField correctionOld_
The previous correction.
void update()
Update design variables.
labelList activeDesignVars_
Map to active design variables.
void computeCorrection()
Compute design variables correction.
SquareMatrix< scalar > HessianInv_
SquareMatrix< scalar > HessianInvOld_
The previous Hessian inverse.
void updateHessian()
Update approximation of the inverse Hessian.