39#ifndef objectivePtLosses_H
40#define objectivePtLosses_H
58 public objectiveIncompressible
88 const word& adjointSolverName,
89 const word& primalSolverName
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.
objectivePtLosses(const fvMesh &mesh, const dictionary &dict, const word &adjointSolverName, const word &primalSolverName)
from components
virtual void addHeaderColumns() const
Write headers for additional columns.
TypeName("PtLosses")
Runtime type information.
virtual void update_boundarydJdvn()
Update values to be added to the adjoint outlet pressure.
virtual scalar J()
Return the objective function value.
virtual ~objectivePtLosses()=default
Destructor.
virtual void update_boundarydJdv()
Update values to be added to the adjoint outlet velocity.
virtual void addColumnValues() const
Write information to additional columns.
virtual void update_boundarydJdp()
Update values to be added to the adjoint inlet velocity.
virtual void update_boundarydJdvt()
Update values to be added to the adjoint outlet tangential velocity.
A class for handling words, derived from Foam::string.
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.