Go to the documentation of this file.
44 const word& managerType,
53 mesh.time().timeName(),
56 IOobject::READ_IF_PRESENT,
63 managerType_(managerType),
65 solverName_(
dict.dictName()),
66 active_(
dict.getOrDefault(
"active",
true)),
67 optTypeSource_(
nullptr),
157 optTypeSource_ = &optSource;
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
A class for handling file names.
const word & solverName() const
Return the solver name.
virtual bool active()
Return state of solver.
const variablesSet & getVariablesSet() const
Return constant reference to variableSet used by the solver.
virtual void preLoop()
Functions to be called before loop.
Base class for creating a set of variables.
virtual ~solver()
Destructor.
virtual void postLoop()
Functions to be called after loop.
void updateOptTypeSource(const autoPtr< volScalarField > &optSourcePtr)
Update source term related to optimisationType.
solver(const solver &)=delete
No copy construct.
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.
virtual void restoreInitValues()
Restore initial field values if necessary.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const fvMesh & mesh() const
Return the solver mesh.
virtual bool readDict(const dictionary &dict)
defineTypeNameAndDebug(combustionModel, 0)
localIOdictionary is derived from IOdictionary but excludes parallel master reading.
virtual const dictionary & dict() const
Return the solver dictionary.
const volScalarField * optTypeSource_