84 const uint64_t payLoad = vtk::sizeofData<float, 3>(
pts.size());
127 const uint64_t payLoad = vtk::sizeofData<label>(nFaces);
130 format.beginDataArray<label>(
"region");
131 format.writeSize(payLoad);
155 const uint64_t payLoad = vtk::sizeofData<label>(zoneIds.
size());
158 format.beginDataArray<label>(
"region");
160 format.writeSize(payLoad);
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
bool append() const noexcept
True if output format uses an append mode.
A surface zone on a MeshedSurface.
static unsigned int defaultPrecision() noexcept
Return the default precision.
Encapsulated combinations of output format options. This is primarily useful when defining the output...
static streamFormat formatEnum(const word &formatName, const streamFormat deflt=streamFormat::ASCII)
The stream format enum corresponding to the string (ascii | binary).
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
unsigned precision() const noexcept
Return the ASCII write precision.
static std::string dateTime()
The current wall-clock date/time (in local time) as a string in ISO-8601 format (yyyy-mm-ddThh:mm:ss)...
bool ascii() const noexcept
True if output format is ASCII.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void writeList(vtk::formatter &fmt, const UList< uint8_t > &values)
Write a list of uint8_t values.
word format(conversionProperties.get< word >("format"))
bool legacy() const noexcept
True if writer uses legacy file format.