99#ifndef functionObjects_solverInfo_H
100#define functionObjects_solverInfo_H
110namespace functionObjects
119 public fvMeshFunctionObject,
166 void operator=(
const solverInfo&) =
delete;
199 virtual bool write();
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
const word & name() const noexcept
Return the name of this functionObject.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Writes solver information for a list of user-specified fields.
virtual ~solverInfo()=default
Destructor.
TypeName("solverInfo")
Runtime type information.
bool initialised_
Initialisation flag.
void updateSolverInfo(const word &fieldName)
Calculate the solver information.
wordHashSet residualFieldNames_
Names of (result) residual fields.
void createResidualField(const word &fieldName)
Create and store a residual field on the mesh database.
void initialiseResidualField(const word &fieldName)
Initialise a residual field.
void operator=(const solverInfo &)=delete
No copy assignment.
bool writeResidualFields_
Flag to write the initial-residual as a vol field.
void writeFileHeader(Ostream &os)
Output file header information.
solverInfo(const solverInfo &)=delete
No copy construct.
virtual bool execute()
Execute solverInfo.
virtual bool write()
Write solverInfo results.
solverFieldSelection fieldSet_
Names of operand fields.
virtual bool read(const dictionary &)
Read solverInfo settings.
Base class for writing single files from the function objects.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.