39 #ifndef functionObjects_runTimeControls_equationInitialResidualCondition_H 40 #define functionObjects_runTimeControls_equationInitialResidualCondition_H 52 namespace functionObjects
54 namespace runTimeControls
101 const word& fieldName,
102 const label componenti,
111 TypeName(
"equationInitialResidual");
129 virtual bool apply();
132 virtual void write();
135 virtual void reset();
void setResidual(const fvMesh &mesh, const dictionary &dict, const word &fieldName, const label componenti, bool &canSet, scalar &residual) const
Set the residual (scalar) value.
operatingMode mode_
Operating mode.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
equationInitialResidualCondition(const word &name, const objectRegistry &obr, const dictionary &dict, stateFunctionObject &state)
Constructor.
virtual void write()
Write.
solverFieldSelection fieldSelection_
Field names.
virtual ~equationInitialResidualCondition()=default
Destructor.
Minimum or maximum initial residual run time condition.
const scalar value_
Value to compare.
A class for handling words, derived from Foam::string.
Base class for run time conditions.
static const Enum< operatingMode > operatingModeNames
virtual bool apply()
Apply the condition.
TypeName("equationInitialResidual")
Runtime type information.
virtual void reset()
Reset.
Mesh data needed to do the Finite Volume discretisation.
Base class for function objects, adding functionality to read/write state information (data required ...
Registry of regIOobjects.
scalar timeStart_
Start checking from time - always skips first iteration.
virtual const word & name() const
Return the condition name.