43#ifndef constraintProjection_H
44#define constraintProjection_H
58class constraintProjection
60 public constrainedOptimisationMethod,
79 constraintProjection(
const constraintProjection&) =
delete;
82 void operator=(
const constraintProjection&) =
delete;
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
void computeCorrection()
Compute design variables correction.
bool useCorrection_
Correct for non-linearities.
TypeName("constraintProjection")
Runtime type information.
virtual scalar computeMeritFunction()
Compute merit function. Could be different than the objective in the presence of constraints.
scalar delta_
Weight of the aggregated constraint values in the merit function.
virtual ~constraintProjection()=default
Destructor.
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.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.