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
99 const string& description
103 writeString(description);
void beginPart(const label index, const string &description)
Begin a "part" (0-based index), with a description.
A class for handling file names.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
Ostream & writeBinaryHeader()
Write "C Binary" string 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"))
void newline()
Add carriage return to ascii stream.
static const char *const coordinates
The keyword "coordinates".
streamFormat
Data format (ascii | binary)
virtual bool write(const token &)
Writing token does not make sense.
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)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...