Go to the documentation of this file.
37 #ifndef incompressibleAdjointSolver_H
38 #define incompressibleAdjointSolver_H
101 const word& managerType,
115 const word& managerType,
127 const word& managerType,
176 virtual bool write(
const bool valid =
true)
const
Base class for adjoint solvers.
autoPtr< ATCModel > ATCModel_
Adjoint Transpose Convection options.
static autoPtr< incompressibleAdjointSolver > New(fvMesh &mesh, const word &managerType, const dictionary &dict, const word &primalSolverName)
Return a reference to the selected incompressible adjoint solver.
Base class for incompressibleAdjoint solvers.
A class for handling words, derived from Foam::string.
bool writeTime() const
Return true if this is a write time.
const word & primalSolverName() const
Return the primal solver name.
virtual bool useSolverNameForFields() const
Should solver name be appended to fields.
virtual const incompressibleAdjointVars & getAdjointVars() const
Access to the incompressible adjoint variables set.
fvMesh & mesh_
Reference to the mesh database.
TypeName("incompressible")
Run-time type information.
Class including all adjoint fields for incompressible flows.
virtual bool write(const bool valid=true) const
declareRunTimeSelectionTable(autoPtr, incompressibleAdjointSolver, dictionary,(fvMesh &mesh, const word &managerType, const dictionary &dict, const word &primalSolverName),(mesh, managerType, dict, primalSolverName))
virtual bool writeNow() const
virtual void updatePrimalBasedQuantities()
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 autoPtr< ATCModel > & getATCModel() const
Access to the ATC model.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const fvMesh & mesh() const
Return the solver mesh.
incompressibleVars & primalVars_
Primal variable set.
const Time & time() const
Return the top-level database.
virtual bool readDict(const dictionary &dict)
Read dict if updated.
const incompressibleVars & getPrimalVars() const
Access to the incompressible primal variables set.
virtual const dictionary & dict() const
Return the solver dictionary.
virtual ~incompressibleAdjointSolver()=default
Destructor.
Base class for solution control classes.