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