Go to the documentation of this file.
62 const bool loadFromFiles
72 if (!isA<fvMesh>(obr_))
76 <<
"No fvMesh available, deactivating " << name_
83 writeFileHeader(file());
104 fieldSet_ = uniqueFields.
toc();
131 const word& fieldName = fieldSet_[fieldI];
133 writeResidual<scalar>(fieldName);
134 writeResidual<vector>(fieldName);
135 writeResidual<sphericalTensor>(fieldName);
136 writeResidual<symmTensor>(fieldName);
137 writeResidual<tensor>(fieldName);
A class for handling words, derived from string.
List< Key > toc() const
Return the table of contents.
#define forAll(list, i)
Loop across all elements in list.
bool read(const char *, int32_t &)
residuals(const residuals &)
Disallow default bitwise copy construct.
void writeTabbed(Ostream &os, const string &str) const
Write a tabbed string to stream.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
void writeFileHeader(const word &fieldName)
Output field header information.
void read(const dictionary &dict)
Read.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A HashTable with keys but without contents.
virtual ~residuals()
Destructor.
Registry of regIOobjects.
virtual void end()
Execute at the final time-loop, currently does nothing.
virtual void read(const dictionary &)
Read the field residuals data.
wordList fieldSet_
Fields to write residuals.
virtual void execute()
Execute, currently does nothing.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
A list of keyword definitions, which are a keyword followed by any number of values (e....
void writeHeader(Ostream &os, const string &str) const
Write a commented header to stream.
static bool master(const label communicator=0)
Am I the master process.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Base class for output file data handling.
virtual void write()
Write the residuals.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void writeCommented(Ostream &os, const string &str) const
Write a commented string to stream.
defineTypeNameAndDebug(combustionModel, 0)
#define WarningInFunction
Report a warning using Foam::Warning.
word name(const complex &)
Return a string representation of a complex.