65 label& externalBufPosition_;
71 const bool clearAtEnd_;
79 inline void checkEof();
83 inline void readFromBuffer(
T&);
86 inline void readFromBuffer(
void*
data,
size_t count,
size_t align);
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,
175 ios_base::fmtflags
flags(
const ios_base::fmtflags)
177 return ios_base::fmtflags(0);
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,.
commsTypes commsType() const
Get the communications type of the stream.
commsTypes
Types of communications.
ios_base::fmtflags flags() const
Return flags of output stream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A token holds items read from Istream.
label count(const ListType &l, typename ListType::const_reference x)
Count the number of occurrences of a value in a list.
Holds information (coordinate and normal) regarding nearest wall point.
static int & msgType()
Message tag of standard messages.
versionNumber version() const
Return the stream version.
static label worldComm
Default communicator (all processors)
Input inter-processor communications stream operating on external buffer.
A class for handling words, derived from string.
float floatScalar
Float precision floating point scalar type.
streamFormat
Enumeration for the format of data in the stream.
Istream & rewind()
Rewind and return the stream so that it may be read again.
double doubleScalar
Double precision floating point scalar type.
streamFormat format() const
Return current stream format.
void print(Ostream &) const
Print description of IOstream to Ostream.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
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.
Database for solution and other reduced data.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Helper class for allocating/freeing communicators.
long double longDoubleScalar
Lang double precision floating point scalar type.
static const versionNumber currentVersion
Current version number.
Inter-processor communications stream.