37 #ifndef incompressibleAdjointMeanFlowVars_H 38 #define incompressibleAdjointMeanFlowVars_H 108 TypeName(
"incompressibleAdjointMeanFlowVars");
void setMeanFields()
Read mean fields, if necessary.
virtual void nullify()
Nullify all adjoint fields.
const volScalarField & paInst() const
Return const reference to pressure.
virtual ~incompressibleAdjointMeanFlowVars()=default
Destructor.
autoPtr< volScalarField > paPtr_
Fields involved in the solution of the incompressible adjoint NS equations.
autoPtr< surfaceScalarField > phiaMeanPtr_
autoPtr< volVectorField > UaPtr_
const incompressibleVars & primalVars() const
Base class for solution control classes.
incompressibleVars & primalVars_
Reference to primal variables.
const volScalarField & pa() const
Return const reference to pressure.
const volVectorField & Ua() const
Return const reference to velocity.
Base class for solver control classes.
autoPtr< volScalarField > paMeanPtr_
Mean Adjoint Fields. Actual averaging is done in the incompressibleAdjointVars class to take care of ...
autoPtr< volVectorField > UaMeanPtr_
bool computeMeanFields() const
Return computeMeanFields bool.
const solverControl & getSolverControl() const
Return const reference to solverControl.
Manages the adjoint mean flow fields and their mean values.
const volVectorField & UaInst() const
Return const reference to velocity.
Base class for creating a set of variables.
solverControl & solverControl_
Reference to the solverControl of the solver allocating the fields.
const surfaceScalarField & phiaInst() const
Return const reference to volume flux.
Mesh data needed to do the Finite Volume discretisation.
TypeName("incompressibleAdjointMeanFlowVars")
Run-time type information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
const surfaceScalarField & phia() const
Return const reference to volume flux.
autoPtr< surfaceScalarField > phiaPtr_
void setFields()
Read fields and set turbulence.