44 #ifndef conjugateGradient_H 45 #define conjugateGradient_H 118 virtual void write();
virtual void updateOldCorrection(const scalarField &oldCorrection)
Update old correction. For use when eta has been changed externally.
void computeCorrection()
Compute design variables correction.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void write()
Write old info to dict.
Abstract base class for optimisation methods.
The Conjugate Gradient formula.
A class for handling words, derived from Foam::string.
TypeName("conjugateGradient")
Runtime type information.
void readFromDict()
Read old info from dict.
Mesh data needed to do the Finite Volume discretisation.
void allocateFields()
Allocate matrices in the first optimisation cycle.
virtual ~conjugateGradient()=default
Destructor.
labelList activeDesignVars_