36#ifndef Foam_ensightGeoFile_H
37#define Foam_ensightGeoFile_H
A simple container for options an IOstream can normally have.
streamFormat
Data format (ascii | binary | coherent).
appendType
File appending (NO_APPEND | APPEND_APP | APPEND_ATE).
@ NO_APPEND
no append (truncates existing)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
ensightGeoFile(const fileName &pathname, IOstreamOption::streamFormat fmt=IOstreamOption::BINARY)
Construct from path-name and initialise the binary header.
static const ensightGeoFile & null() noexcept
Return a null ensightGeoFile.
virtual Ostream & writeKeyword(const keyType &key) override
Write keyword with trailing newline.
void beginGeometry()
Start of geometry information.
ensightGeoFile(const fileName &path, const fileName &name, IOstreamOption::streamFormat fmt=IOstreamOption::BINARY)
Construct from path / name and initialise the binary header.
ensightGeoFile(const ensightGeoFile &)=delete
No copy construct.
~ensightGeoFile()=default
Destructor.
void operator=(const ensightGeoFile &)=delete
No copy assignment.
A class for handling file names.
A class for handling keywords in dictionaries.
fileName path(UMean.rootPath()/UMean.caseName()/"graphs"/UMean.instance())
rAUs append(new volScalarField(IOobject::groupName("rAU", phase1.name()), 1.0/(U1Eqn.A()+byDt(max(phase1.residualAlpha() - alpha1, scalar(0)) *rho1))))
const T & NullObjectRef() noexcept
Const reference (of type T) to the nullObject.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.