Go to the documentation of this file.
34 #ifndef ensightAsciiStream_H
35 #define ensightAsciiStream_H
79 runTime.writeFormat(),
80 runTime.writeVersion(),
97 virtual bool ascii()
const
102 virtual void write(
const char*
c)
107 virtual void write(
const int v)
139 <<
setw(10) << partI <<
nl;
Abstract base class for writing Ensight data.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual void write(const List< int > &sf)
A class for handling file names.
#define forAll(list, i)
Loop across all elements in list.
static const floatScalar floatScalarVSMALL
OFstream str_
Description of data_.
virtual bool ascii() const
An IOstream is an abstract base class for all input/output systems; be they streams,...
virtual void writePartHeader(const label partI)
ensightAsciiStream(const fileName &f, const Time &runTime)
Construct from components.
virtual void write(const char *c)
dimensioned< scalar > mag(const dimensioned< Type > &)
virtual void write(const scalarField &sf)
virtual ~ensightAsciiStream()
Destructor.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
volScalarField sf(fieldObject, mesh)
Omanip< int > setw(const int i)
IOstream & scientific(IOstream &io)
ios_base::fmtflags setf(const ios_base::fmtflags f)
Set flags of stream.
virtual int precision() const
Get precision of output field.
void operator=(const ensightAsciiStream &)
Disallow default bitwise assignment.
const dimensionedScalar c
Speed of light in a vacuum.
virtual void write(const int v)
ensightAsciiStream(const ensightAsciiStream &)
Disallow default bitwise copy construct.