Go to the documentation of this file.
46 constrainedOptimisationMethod,
55 Foam::constraintProjection::constraintProjection
64 coeffsDict().getOrDefault<bool>(
"useCorrection",
true)
100 constraintContribution +=
108 nonLinearContribution +=
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
scalarField cValues_
Constraint values.
static constexpr const zero Zero
Global zero (0)
PtrList< scalarField > constraintDerivatives_
Derivatives of the constraints.
#define forAll(list, i)
Loop across all elements in list.
Abstract base class for optimisation methods supporting constraints. Does not add functionality to up...
bool useCorrection_
Correct for non-linearities.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
scalarField correction_
Design variables correction.
Macros for easy insertion into run-time selection tables.
Mesh data needed to do the Finite Volume discretisation.
scalar globalSum(const scalarField &field)
Compute either global or local sum, based on globalSum flag.
scalar eta_
Step multiplying the correction.
SquareMatrix< scalar > inv(SquareMatrix< scalar > A)
void computeCorrection()
Compute design variables correction.
defineTypeNameAndDebug(combustionModel, 0)
scalarField objectiveDerivatives_
Derivatives of the objective functions.