44#ifndef conjugateGradient_H
45#define conjugateGradient_H
58class conjugateGradient
76 conjugateGradient(
const conjugateGradient&) =
delete;
79 void operator=(
const conjugateGradient&) =
delete;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual ~conjugateGradient()=default
Destructor.
void computeCorrection()
Compute design variables correction.
TypeName("conjugateGradient")
Runtime type information.
virtual bool writeData(Ostream &os) const
Write useful quantities to files.
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.
label nConstraints() const
Get the number of constraints.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.