34 void Foam::ensightGeoFile::init()
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);
Ensight output with specialized write() for strings, integers and floats. Correctly handles binary wr...
A class for handling keywords in dictionaries.
A class for handling file names.
static const char *const coordinates
The keyword "coordinates".
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.
virtual Ostream & writeKeyword(const keyType &key)
Write keyword with trailing newline.
void beginCoordinates(const label npoints)
Begin a "coordinates" block.
const int api
OpenFOAM api number (integer) corresponding to the value of OPENFOAM at the time of compilation...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
fileName path(UMean.rootPath()/UMean.caseName()/"graphs"/UMean.instance())
Ostream & writeBinaryHeader()
Write "C Binary" string for binary files (eg, geometry/measured)
void newline()
Add carriage return to ascii stream.
void beginPart(const label index, const string &description)
Begin a "part" (0-based index), with a description.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
streamFormat
Data format (ascii | binary)
virtual bool write(const token &)
Writing token does not make sense.