105 void operator=(
const GCMMA&) =
delete;
126 virtual ~GCMMA() =
default;
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix by subtracting the matrix multiplied by the current fi...
MMA & mma_
Cast of the update method to MMA.
OFstream GCMMAFile_
File with rho values in each inner loop.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Output to file stream, using an OSstream.
Abstract base class for optimisation methods.
void writeToFiles(bool isConverged)
Write rho and objective/constraint values & approx to files.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
TypeName("GCMMA")
Runtime type information.
Class implementing a workaround for using the Globally converging wrapper of the MMA update method...
virtual void updateStep()
Actually computes a new direction entirely, targeting the satisfaction of the GCMMA condition...
virtual void updateCorrection(scalarField &correction)
Replace the correction with the one computed in updateStep.
Update design variables using the Method of Moving Assymptotes. Can handle inequality constraints...
Abstract base class for line search methods.
virtual bool converged()
Check whether linear search has converged.
OFstream costFile_
File with CPU cost in each inner loop.
bool writeHeader_
Write the header of the output files.
label cost_
Total cost, measured in Equivalent Flow Solutions, up to this cycle.