49 useThread_(useThread),
86void Foam::threadedCollatedOFstream::commit()
93 decomposedBlockData::typeName,
109 headerEntries_ =
dict;
vtk::lineWriter writer(edgeCentres, edgeList::null(), fileName(aMesh.time().globalPath()/(vtkBaseFileName+"-edgesCentres")))
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
A simple container for options an IOstream can normally have.
compressionType compression() const noexcept
Get the stream compression.
atomicType
Atomic operations (output).
@ NON_ATOMIC
atomic = false
@ NO_APPEND
no append (truncates existing)
OCharStream(IOstreamOption streamOpt=IOstreamOption())
Default construct (empty output).
DynamicList< char > release()
Reset buffer and return contents.
void reserve(std::streamsize n)
Reserve output space for at least this amount.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
Master-only drop-in replacement for OFstream.
~threadedCollatedOFstream()
Destructor - commits buffered information to file.
threadedCollatedOFstream(OFstreamCollator &writer, IOstreamOption::atomicType atomic, const fileName &pathname, IOstreamOption streamOpt=IOstreamOption(), const bool useThread=true)
Construct and set stream status.
void setHeaderEntries(const dictionary &dict)
Define the header entries for the data block(s).