60 const word& adjointSolverName,
61 const word& primalSolverName
78 for (
const label patchi : objectivePatches_)
97 for (
const label patchi : objectivePatches_)
111 for (
const label patchi : objectivePatches_)
124 for (
const label patchi : objectivePatches_)
Istream and Ostream manipulators taking arguments.
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const
Mesh data needed to do the Finite Volume discretisation.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class for objective functions in incompressible flows.
autoPtr< boundaryVectorField > bdSdbMultPtr_
Term multiplying delta(n dS)/delta b.
autoPtr< OFstream > objFunctionFilePtr_
File to keep the objective values after the end of the primal solver.
autoPtr< boundaryVectorField > bdxdbDirectMultPtr_
unsigned int width_
Default width of entries when writing in the objective files.
scalar J_
Objective function value and weight.
const dictionary & dict() const
Return objective dictionary.
void update_dxdbDirectMultiplier()
scalar J()
Return the objective function value.
virtual void addHeaderInfo() const
Write headers for additional columns.
void update_dSdbMultiplier()
A class for managing temporary objects.
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Type gSum(const FieldField< Field, Type > &f)
static constexpr scalar oneThird
Omanip< int > setw(const int i)
Ostream & endl(Ostream &os)
Add newline and flush stream.
static constexpr const zero Zero
Global zero (0)