33 const word& fieldName,
46 <<
" for field " << fieldName <<
nl <<
endl
55 nValues +=
field.size();
63 this->beginDataArray<Type>(fieldName, nValues);
Generic templated field type.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
void writePointData(const word &fieldName, const UPtrList< const Field< Type > > &fieldPtrs)
Write primitive field of PointData.
bool isState(outputState test) const noexcept
True if output state corresponds to the test state.
void endDataArray()
Flush formatter and end of DataArray output (non-legacy)
label nPointData_
The number of PointData written for the Piece thus far.
@ POINT_DATA
Inside PointData.
Ostream & reportBadState(Ostream &, outputState expected) const
Generate message reporting bad writer state.
vtk::formatter & format()
The VTK formatter in use. FatalError for off-processor.
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void writeList(vtk::formatter &fmt, const UList< uint8_t > &values)
Write a list of uint8_t values.
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)