Go to the documentation of this file.
34 void Foam::ensightGeoFile::initialize()
39 write(
"Ensight Geometry File");
46 write(
"node id assign");
49 write(
"element id assign");
56 Foam::ensightGeoFile::ensightGeoFile
68 Foam::ensightGeoFile::ensightGeoFile
86 write(
static_cast<const string&
>(key));
100 const string& description
111 write(
"coordinates");
void beginPart(const label index, const string &description)
Begin a "part" (0-based index), with a description.
A class for handling file names.
Ostream & writeBinaryHeader()
Write "C Binary" for binary files (eg, geometry/measured)
void beginCoordinates(const label npoints)
Begin a "coordinates" block.
A class for handling keywords in dictionaries.
word format(conversionProperties.get< word >("format"))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const complex &c)
Return string representation of complex.
void newline()
Add carriage return to ascii stream.
virtual Ostream & write(const char *buf, std::streamsize count)
Binary write.
streamFormat
Data format (ascii | binary)
Ensight output with specialized write() for strings, integers and floats. Correctly handles binary wr...
virtual Ostream & writeKeyword(const keyType &key)
Write keyword with trailing newline.
fileName path(UMean.rootPath()/UMean.caseName()/"graphs"/UMean.instance())
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...