36 const word& fieldName,
60 <<
" for uniform field " << fieldName <<
nl <<
endl
66 vtk::fileWriter::writeUniform<Type>(fieldName, val, nValues);
bool isState(outputState test) const noexcept
True if output state corresponds to the test state.
label nCellData_
The number of CellData written for the Piece thus far.
label nPointData_
The number of PointData written for the Piece thus far.
@ POINT_DATA
Inside PointData.
@ CELL_DATA
Inside CellData.
Ostream & reportBadState(Ostream &, outputState expected) const
Generate message reporting bad writer state.
void writeUniform(const word &fieldName, const Type &val)
Write a uniform field of Cell (Face) or Point values.
label nLocalPolys_
Local number of polys (faces)
label nLocalPoints_
Local number of points.
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)