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)
109 str_ <<
setw(10) << v <<
nl;
118 str_ <<
setw(12) << sf[i] <<
nl;
122 str_ <<
setw(12) << scalar(0) <<
nl;
131 str_ <<
setw(10) << sf[i];
139 <<
setw(10) << partI <<
nl;
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
virtual int precision() const
Get precision of output field.
ios_base::fmtflags setf(const ios_base::fmtflags f)
Set flags of stream.
Abstract base class for writing Ensight data.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static const floatScalar floatScalarVSMALL
volScalarField sf(fieldObject, mesh)
An IOstream is an abstract base class for all input/output systems; be they streams, files, token lists etc.
virtual void writePartHeader(const label partI)
const dimensionedScalar c
Speed of light in a vacuum.
dimensioned< scalar > mag(const dimensioned< Type > &)
Omanip< int > setw(const int i)
virtual ~ensightAsciiStream()
Destructor.
virtual bool ascii() const
IOstream & scientific(IOstream &io)
virtual void write(const char *c)