Go to the documentation of this file.
99 const bool sendAtDestruct =
true,
117 ios_base::fmtflags
flags()
const
119 return ios_base::fmtflags(0);
131 const std::streamsize bufSize,
133 const label communicator = 0
156 const bool quoted=
true
217 ios_base::fmtflags
flags(
const ios_base::fmtflags)
219 return ios_base::fmtflags(0);
int width() const
Get width of output field.
UOPstream(const commsTypes commsType, const int toProcNo, DynamicList< char > &sendBuf, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, const bool sendAtDestruct=true, streamFormat format=BINARY, versionNumber version=currentVersion)
Construct given process index to send to and optional buffer size,.
streamFormat format() const
Return current stream format.
double doubleScalar
Double precision floating point scalar type.
A class for handling words, derived from string.
Output inter-processor communications stream operating on external buffer.
float floatScalar
Float precision floating point scalar type.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
A token holds items read from Istream.
void writeToBuffer(const T &)
Write a T to the transfer buffer.
static const versionNumber currentVersion
Current version number.
static bool write(const commsTypes commsType, const int toProcNo, const char *buf, const std::streamsize bufSize, const int tag=UPstream::msgType(), const label communicator=0)
Write given buffer to given processor.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Inter-processor communications stream.
ios_base::fmtflags flags() const
Return flags of output stream.
Ostream & writeQuoted(const std::string &, const bool quoted=true)
Write std::string surrounded by quotes.
ios_base::fmtflags flags(const ios_base::fmtflags)
Set flags of stream.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
DynamicList< char > & sendBuf_
commsTypes commsType() const
Get the communications type of the stream.
int precision() const
Get precision of output field.
int width(const int)
Set width of output field (and return old width)
void endl()
Add newline and flush stream.
static int & msgType()
Message tag of standard messages.
commsTypes
Types of communications.
versionNumber version() const
Return the stream version.
static label worldComm
Default communicator (all processors)
void print(Ostream &) const
Print description of IOstream to Ostream.
void flush()
Flush stream.
void indent()
Add indentation characters.
int precision(const int)
Set precision of output field (and return old precision)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const bool sendAtDestruct_
Database for solution data, solver performance and other reduced data.
streamFormat
Enumeration for the format of data in the stream.