49Foam::steepestDescent::steepestDescent
54 const label nConstraints,
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
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.
Update design variables using steepest descent.
void computeCorrection()
Return the correction of the design variables.
Abstract base class for optimisation methods.
scalarField objectiveDerivatives_
Derivatives of the objective functions.
scalarField correction_
Design variables correction.
const labelList & activeDesignVars_
Map to active design variables.
label nConstraints() const
Get the number of constraints.
scalar eta_
Step multiplying the correction.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.