44#ifndef conjugateGradient_H
45#define conjugateGradient_H
118 virtual void write();
The Conjugate Gradient formula.
virtual ~conjugateGradient()=default
Destructor.
void computeCorrection()
Compute design variables correction.
void readFromDict()
Read old info from dict.
TypeName("conjugateGradient")
Runtime type information.
labelList activeDesignVars_
void allocateFields()
Allocate matrices in the first optimisation cycle.
virtual void write()
Write old info to dict.
virtual void updateOldCorrection(const scalarField &oldCorrection)
Update old correction. For use when eta has been changed externally.
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.
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.