39 label& receiveBufPosition,
42 const bool clearAtEnd,
71 UIPstreamBase(fromProcNo, buffers)
80 Pout<<
"UIPstream::UIPstream PstreamBuffers :" 96 const commsTypes commsType,
104 Pstream(commsType, bufSize),
109 Pstream::transferBuf_,
110 transferBufPosition_,
116 transferBufPosition_(0)
void size(const label n)
Older name for setAddressableSize.
commsTypes
Types of communications.
IPstream(const commsTypes commsType, const int fromProcNo, const label bufSize=0, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, IOstreamOption::streamFormat fmt=IOstreamOption::BINARY)
Construct given process index to read from and optional buffer size, read format. ...
Base class for input inter-processor communications stream (ie, parallel streams). Not to be used directly, thus contructors are protected.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
UIPstream(const commsTypes commsType, const int fromProcNo, DynamicList< char > &receiveBuf, label &receiveBufPosition, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, const bool clearAtEnd=false, IOstreamOption::streamFormat fmt=IOstreamOption::BINARY)
Construct given process index to read from using the given attached receive buffer, optional communication characteristics and IO format.
commsTypes commsType() const noexcept
Get the communications type of the stream.
int debug
Static debugging option.
DynamicList< char > & recvBuf_
streamFormat
Data format (ascii | binary)
"nonBlocking" : (MPI_Isend, MPI_Irecv)
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.