33 precision_(
IOstream::defaultPrecision())
43 precision_(
IOstream::defaultPrecision())
120 return !(unsigned(fmtType_) & 0x0F);
XML append raw binary, appendRawFormatter.
autoPtr< formatter > newFormatter(std::ostream &os) const
Return new formatter based on the selected output options.
bool append() const noexcept
True if output format uses an append mode.
const word fileExtension
Legacy file extension ("vtk")
autoPtr< vtk::formatter > newFormatter(std::ostream &os, unsigned prec=IOstream::defaultPrecision())
Return a default asciiFormatter.
outputOptions()
Default construct - XML insitu ASCII format with default precision.
bool xml() const noexcept
True if writer uses XML file format (non-legacy)
XML inline ASCII, asciiFormatter.
unsigned precision() const noexcept
Return the ASCII write precision.
A class for handling words, derived from Foam::string.
Legacy raw binary, legacyRawFormatter.
formatType
The output format type for file contents.
bool ascii() const noexcept
True if output format is ASCII.
bool insitu() const noexcept
True if output format does not use an append mode.
vtk::formatType fmt() const noexcept
The output format type.
OBJstream os(runTime.globalPath()/outputName)
rAUs append(new volScalarField(IOobject::groupName("rAU", phase1.name()), 1.0/(U1Eqn.A()+byDt(max(phase1.residualAlpha() - alpha1, scalar(0)) *rho1))))
An IOstream is an abstract base class for all input/output systems; be they streams, files, token lists etc.
const Foam::Enum< fileTag > fileExtension
File extension (without ".") for some vtk XML file content types.
fileTag
Some common XML tags for vtk files.
bool legacy() const noexcept
True if writer uses legacy file format.
XML append base64, appendBase64Formatter.
Legacy ASCII, legacyAsciiFormatter.
word ext(vtk::fileTag contentType) const
The file extension (legacy or xml) for the given content-type.