73 SQP(
const SQP&) =
delete;
76 void operator=(
const SQP&) =
delete;
85 void storeOldFields();
111 virtual ~SQP() =
default;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual scalar meritFunctionConstraintPart() const =0
Get the part the merit function that depends on the constraints.
void computeCorrection()
Compute design variables correction.
virtual scalar meritFunctionDirectionalDerivative()
Derivative of the merit function. Could be different than the objective derivative in the presence of...
virtual ~SQP()=default
Destructor.
virtual bool writeAuxiliaryData()
Write merit function information.
virtual bool writeData(Ostream &os) const
Write useful quantities to files.
virtual scalar computeMeritFunction()
Compute merit function. Could be different than the objective in the presence of constraints.
scalar dumpingThreshold_
Curvature threshold.
TypeName("SQP")
Runtime type information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
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.
virtual void updateHessian()=0
Update approximation of the inverse Hessian.
virtual void update()=0
Update design variables.
label nConstraints() const
Get the number of constraints.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.