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