39#ifndef objectivePartialVolume_H
40#define objectivePartialVolume_H
58 public objectiveGeometric
79 const word& adjointSolverName,
80 const word& primalSolverName
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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.
const dictionary & dict() const
Return objective dictionary.
virtual ~objectivePartialVolume()=default
Destructor.
TypeName("partialVolume")
Runtime type information.
virtual bool writeData(Ostream &os) const
Write initial volume for continuation.
virtual void update_dxdbDirectMultiplier()
Update d (x) / db multiplier. Surface and volume-based sensitivity term.
objectivePartialVolume(const fvMesh &mesh, const dictionary &dict, const word &adjointSolverName, const word &primalSolverName)
from components
virtual scalar J()
Return the objective function value.
virtual void addHeaderInfo() const
Write headers for additional columns.
virtual void update_dSdbMultiplier()
Update d (normal dS) / db multiplier. Surface and volume-based sensitivity term.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.