Go to the documentation of this file.
98 const bool loadFromFiles
105 writeLocation_(
true),
110 if (setActive<fvMesh>())
113 writeFileHeader(file());
163 if (!writeLocation_) writeTime(file());
165 if (log_)
Info<<
type() <<
" " << name_ <<
" output:" <<
nl;
169 calcMinMaxFields<scalar>(fieldSet_[fieldI], mdCmpt);
170 calcMinMaxFields<vector>(fieldSet_[fieldI], mode_);
171 calcMinMaxFields<sphericalTensor>(fieldSet_[fieldI], mode_);
172 calcMinMaxFields<symmTensor>(fieldSet_[fieldI], mode_);
173 calcMinMaxFields<tensor>(fieldSet_[fieldI], mode_);
176 if (!writeLocation_) file()<<
endl;
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A class for handling words, derived from string.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
Base class for function objects, adding functionality to read/write state information (data required ...
#define forAll(list, i)
Loop across all elements in list.
virtual ~fieldMinMax()
Destructor.
bool read(const char *, int32_t &)
void writeTabbed(Ostream &os, const string &str) const
Write a tabbed string to stream.
static bool & parRun()
Is this a parallel run?
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
void read(const dictionary &dict)
Read.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Registry of regIOobjects.
const Foam::NamedEnum< Foam::scene::modeType, 2 > modeTypeNames_
wordList fieldSet_
Fields to assess min/max.
virtual void read(const dictionary &)
Read the field min/max data.
virtual void execute()
Execute, currently does nothing.
virtual void end()
Execute at the final time-loop, currently does nothing.
virtual void write()
Write the fieldMinMax.
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.
fieldMinMax(const fieldMinMax &)
Disallow default bitwise copy construct.
Base class for output file data handling.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Switch writeLocation_
Switch to write location of min/max values.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
void writeCommented(Ostream &os, const string &str) const
Write a commented string to stream.
Include the header files for all the primitive types that Fields are instantiated for.
defineTypeNameAndDebug(combustionModel, 0)
static const NamedEnum< modeType, 2 > modeTypeNames_
Mode type names.
word name(const complex &)
Return a string representation of a complex.
virtual void writeFileHeader(Ostream &os) const
Output file header information.
Initialise the NamedEnum HashTable from the static list of names.