Go to the documentation of this file.
61 "Label and Floating-point vector space only"
80 label nVals =
field.size();
93 const uint64_t payLoad = vtk::sizeofData<label, nCmpt>(nVals);
100 const uint64_t payLoad = vtk::sizeofData<float, nCmpt>(nVals);
132 const fileName localDir(cloudDir());
136 for (
const word& fieldName : fieldNames)
147 mesh_.time().timeName(),
173 Info<<
" " << fieldName;
177 this->write<Type>(
field);
182 if (verbose && nFields)
198 return writeFields<Type>
void writeListParallel(vtk::formatter &fmt, const UList< uint8_t > &values)
Write a list of uint8_t values.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
A class for handling file names.
A primitive field of type <T> with automated input and output.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
label writeFields(const wordList &fieldNames, bool verbose=true)
Write IOFields.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static const Enum< outputState > stateNames
Names for the output state (for messages, not for file output).
autoPtr< vtk::formatter > format_
The VTK formatter in use (master process)
label nPointData_
The number of PointData written for the Piece thus far.
outputState state_
The output state.
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
messageStream Info
Information stream (uses stdout - output is on the master only)
void write(const IOField< Type > &field)
Write the IOField.
void writeList(vtk::formatter &fmt, const UList< uint8_t > &values)
Write a list of uint8_t values.
bool parallel_
Writing in parallel (via master)
wordList allNames() const
The sorted names of all objects (synchronised across processors)
List of IOobjects with searching and retrieving facilities.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Traits class for primitives.
label nCellData_
The number of CellData written for the Piece thus far.
vtk::formatter & format()
The VTK formatter in use.
bool isState(outputState test) const
True if the output state corresponds to the test state.