43 #ifndef constraintProjection_H 44 #define constraintProjection_H bool useCorrection_
Correct for non-linearities.
virtual scalar computeMeritFunction()
Compute merit function. Could be different than the objective in the presence of constraints.
Abstract base class for optimisation methods supporting constraints. Does not add functionality to up...
label nConstraints() const
Get the number of constraints.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Abstract base class for optimisation methods.
void computeCorrection()
Compute design variables correction.
Update design variables using Rosen's projection method.
TypeName("constraintProjection")
Runtime type information.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
scalar delta_
Weight of the aggregated constraint values in the merit function.
A class for handling words, derived from Foam::string.
Mesh data needed to do the Finite Volume discretisation.
virtual ~constraintProjection()=default
Destructor.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...