34 void Foam::ensightGeoFile::init()
41 void Foam::ensightGeoFile::beginGeometry()
44 writeString(
"Ensight Geometry File");
51 writeString(
"node id assign");
54 writeString(
"element id assign");
59 void Foam::ensightGeoFile::endGeometry()
65 Foam::ensightGeoFile::ensightGeoFile
77 Foam::ensightGeoFile::ensightGeoFile
108 const std::string& description
112 writeString(description);
Ensight output with specialized write() for strings, integers and floats. Correctly handles binary wr...
void writeBinaryHeader()
Write "C Binary" string for binary files (eg, geometry/measured)
A class for handling keywords in dictionaries.
A class for handling file names.
void beginPart(const label index, const std::string &description)
Begin a "part" (0-based index), with a description.
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 expressions::valueTypeCode::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())
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)