115 void operator=(
const SR1&) =
delete;
131 virtual ~SR1() =
default;
144 virtual void write();
The quasi-Newton Symmetric Rank One formula.
TypeName("SR1")
Runtime type information.
void computeCorrection()
Compute design variables correction.
SquareMatrix< scalar > HessianInvOld_
The previous Hessian inverse.
void readFromDict()
Read old info from dict.
scalarField correctionOld_
The previous correction.
label nSteepestDescent_
Number of first steepest descent steps.
labelList activeDesignVars_
Map to active design variables.
scalar etaHessian_
Step for the Newton method.
label counter_
Optimisation counter.
void allocateMatrices()
Allocate matrices in the first optimisation cycle.
scalarField derivativesOld_
The previous derivatives.
virtual void write()
Write old info to dict.
SquareMatrix< scalar > HessianInv_
virtual void updateOldCorrection(const scalarField &oldCorrection)
void update()
Update design variables.
scalar ratioThreshold_
For stability check.
virtual ~SR1()=default
Destructor.
void updateHessian()
Update approximation of the inverse Hessian.
A templated (N x N) square matrix of objects of <Type>, containing N*N elements, derived from Matrix.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for optimisation methods.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.