42#ifndef constrainedOptimisationMethod_H
43#define constrainedOptimisationMethod_H
77 TypeName(
"constrainedOptimisationMethod");
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Abstract base class for optimisation methods supporting constraints. Does not add functionality to up...
TypeName("constrainedOptimisationMethod")
Runtime type information.
virtual ~constrainedOptimisationMethod()=default
Destructor.
declareRunTimeSelectionTable(autoPtr, constrainedOptimisationMethod, dictionary,(const fvMesh &mesh, const dictionary &dict),(mesh, dict))
virtual void computeCorrection()=0
Return the correction of the design variables.
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.
Abstract base class for optimisation methods.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.