Go to the documentation of this file.
100 label& externalBufPosition,
103 const bool clearAtEnd =
false,
121 ios_base::fmtflags
flags()
const
123 return ios_base::fmtflags(0);
134 const int fromProcNo,
136 const std::streamsize bufSize,
138 const label communicator = 0
172 ios_base::fmtflags
flags(
const ios_base::fmtflags)
174 return ios_base::fmtflags(0);
ios_base::fmtflags flags() const
Return flags of output stream.
streamFormat format() const
Return current stream format.
double doubleScalar
Double precision floating point scalar type.
A class for handling words, derived from string.
label & externalBufPosition_
void checkEof()
Check the bufferPosition against messageSize_ for EOF.
float floatScalar
Float precision floating point scalar type.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
DynamicList< char > & externalBuf_
A token holds items read from Istream.
static const versionNumber currentVersion
Current version number.
static label read(const commsTypes commsType, const int fromProcNo, char *buf, const std::streamsize bufSize, const int tag=UPstream::msgType(), const label communicator=0)
Read into given buffer from given processor and return the.
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.
void print(Ostream &) const
Print description of IOstream to Ostream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
commsTypes commsType() const
Get the communications type of the stream.
void readFromBuffer(T &)
Read a T from the transfer buffer.
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)
ios_base::fmtflags flags(const ios_base::fmtflags)
Set flags of stream.
Istream & rewind()
Rewind and return the stream so that it may be read again.
UIPstream(const commsTypes commsType, const int fromProcNo, DynamicList< char > &externalBuf, label &externalBufPosition, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, const bool clearAtEnd=false, streamFormat format=BINARY, versionNumber version=currentVersion)
Construct given process index to read from and optional buffer size,.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Input inter-processor communications stream operating on external buffer.
Database for solution data, solver performance and other reduced data.
streamFormat
Enumeration for the format of data in the stream.