37 Foam::label Foam::functionObjects::writeFile::addChars = 8;
59 baseDir = baseDir/mesh.
name();
115 os <<
setw(1) <<
"#" <<
setw(1) <<
' ' 136 os <<
setw(1) <<
"#" <<
setw(1) <<
' ' const word & name() const
Return name.
A class for handling file names.
void writeHeader(Ostream &os, const string &str) const
Write a commented header to stream.
ios_base::fmtflags setf(const ios_base::fmtflags f)
Set flags of stream.
static unsigned int defaultPrecision()
Return the default precision.
static word defaultRegion
Return the default region name.
Holds information (coordinate and normal) regarding nearest wall point.
static label addChars
Additional characters for writing.
void writeCommented(Ostream &os, const string &str) const
Write a commented string to stream.
void initStream(Ostream &os) const
Initialise the output stream for writing.
static const word outputPrefix
Directory prefix.
static word timeName(const scalar, const int precision=curPrecision_)
Return time name of given scalar time.
A class for handling words, derived from string.
writeFile(const objectRegistry &obr, const word &prefix)
Construct from objectRegistry and prefix.
Smanip< ios_base::fmtflags > setf(const ios_base::fmtflags flags)
fileName baseTimeDir() const
Return the base directory for the current time value.
label charWidth() const
Return width of character stream output.
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.
const word prefix_
Prefix.
const Time & time() const
Return time.
fileName globalPath() const
Return the global path.
fileName baseFileDir() const
Return the base directory for output.
void writeTime(Ostream &os) const
Write the current time to stream.
Omanip< int > valueWidth(const label offset=0) const
Return the value width when writing to stream with optional offset.
const objectRegistry & fileObr_
Reference to the region objectRegistry.
Mesh consisting of general polyhedral cells.
Omanip< int > setw(const int i)
Registry of regIOobjects.
IOstream & scientific(IOstream &io)
void writeTabbed(Ostream &os, const string &str) const
Write a tabbed string to stream.