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);
@ ASCII
"ascii" (normal default)
static streamFormat formatEnum(const word &formatName, const streamFormat deflt=streamFormat::ASCII)
static unsigned int defaultPrecision() noexcept
Return the default precision.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void size(const label n)
Older name for setAddressableSize.
static std::string dateTime()
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
A surface zone on a MeshedSurface.
Encapsulated combinations of output format options. This is primarily useful when defining the output...
bool legacy() const noexcept
True if writer uses legacy file format.
bool append() const noexcept
True if output format uses an append mode.
bool ascii() const noexcept
True if output format is ASCII.
unsigned precision() const noexcept
Return the ASCII write precision.
const labelList nFaces(UPstream::listGatherValues< label >(aMesh.nFaces()))
@ NUMBER_OF_POLYS
"NumberOfPolys"
@ NUMBER_OF_POINTS
"NumberOfPoints"
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
void writeList(vtk::formatter &fmt, const UList< uint8_t > &values)
Write a list of uint8_t values.
word format(conversionProperties.get< word >("format"))