34 #ifndef ensightAsciiStream_H
35 #define ensightAsciiStream_H
70 runTime.writeFormat(),
71 runTime.writeVersion(),
91 virtual bool ascii()
const
96 virtual void write(
const char*
c)
101 virtual void write(
const int v)
103 str_ <<
setw(10) << v <<
nl;
116 str_ <<
setw(12) << scalar(0) <<
nl;
125 str_ <<
setw(10) <<
sf[i];
133 <<
setw(10) << partI <<
nl;
#define forAll(list, i)
Loop across all elements in list.
An IOstream is an abstract base class for all input/output systems; be they streams,...
ios_base::fmtflags setf(const ios_base::fmtflags f)
Set flags of stream.
virtual int precision() const
Get precision of output field.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
ensightAsciiStream(const fileName &f, const Time &runTime)
Construct from components.
virtual bool ascii() const
void operator=(const ensightAsciiStream &)=delete
Disallow default bitwise assignment.
virtual void write(const char *c)
virtual ~ensightAsciiStream()
Destructor.
virtual void writePartHeader(const label partI)
Abstract base class for writing Ensight data.
A class for handling file names.
volScalarField sf(fieldObject, mesh)
const dimensionedScalar c
Speed of light in a vacuum.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Omanip< int > setw(const int i)
IOstream & scientific(IOstream &io)
dimensioned< scalar > mag(const dimensioned< Type > &)
static const floatScalar floatScalarVSmall