66 if (isA<polyMesh>(
obr_))
71 baseDir = baseDir/mesh.
name();
146 os <<
setw(1) <<
"#" <<
setw(1) <<
' ' 167 os <<
setw(1) <<
"#" <<
setw(1) <<
' ' void writeTabbed(Ostream &os, const string &str) const
Write a tabbed string to stream.
Specialization of Foam::functionObject for a region and providing a reference to the region Foam::obj...
const Time & time() const
Return time.
void writeHeader(Ostream &os, const string &str) const
Write a commented header to stream.
virtual void initStream(Ostream &os) const
Initialise the output stream for writing.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
ios_base::fmtflags setf(const ios_base::fmtflags f)
Set flags of stream.
A list of keyword definitions, which are a keyword followed by any number of values (e...
static unsigned int defaultPrecision()
Return the default precision.
static word defaultRegion
Return the default region name.
virtual fileName baseTimeDir() const
Return the base directory for the current time value.
static label addChars
Additional characters for writing.
label charWidth() const
Return width of character stream output.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual fileName baseFileDir() const
Return the base directory for output.
virtual void writeFileHeader(const label i=0)
File header information.
void writeTime(Ostream &os) const
Write the current time to stream.
static const word outputPrefix
Directory prefix.
A class for handling words, derived from string.
writeFile(const writeFile &)
Disallow default bitwise copy construct.
Smanip< ios_base::fmtflags > setf(const ios_base::fmtflags flags)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual int width() const =0
Get width of output field.
Istream and Ostream manipulators taking arguments.
virtual Omanip< int > valueWidth(const label offset=0) const
Return the value width when writing to stream with optional offset.
const word prefix_
Prefix.
virtual ~writeFile()
Destructor.
static bool & parRun()
Is this a parallel run?
void writeCommented(Ostream &os, const string &str) const
Write a commented string to stream.
const objectRegistry & obr_
Reference to the region objectRegistry.
Mesh consisting of general polyhedral cells.
Omanip< int > setw(const int i)
Registry of regIOobjects.
fileName path() const
Return path.
const word & name() const
Return name.
IOstream & scientific(IOstream &io)