41 const bool sendAtDestruct,
45 UOPstreamBase(commsType, toProcNo, sendBuf, tag, comm, sendAtDestruct, fmt)
57 const commsTypes commsType,
88 <<
"Failed sending outgoing message of size " 89 << sendBuf_.size() <<
" to processor " << toProcNo_
commsTypes
Types of communications.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Inter-processor communications stream.
OPstream(const commsTypes commsType, const int toProcNo, const label bufSize=0, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, IOstreamOption::streamFormat fmt=IOstreamOption::BINARY)
Construct for given process index to send to and optional buffer size, write format.
errorManip< error > abort(error &err)
Output inter-processor communications stream using MPI send/recv etc. - operating on external buffer...
virtual ~UOPstream()
Destructor, usually sends buffer on destruct.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
UOPstream(const commsTypes commsType, const int toProcNo, DynamicList< char > &sendBuf, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, const bool sendAtDestruct=true, IOstreamOption::streamFormat fmt=IOstreamOption::BINARY)
Construct given process index to write to using the given attached send buffer, optional communicatio...
streamFormat
Data format (ascii | binary)
Base class for output inter-processor communications stream (ie, parallel streams). Not to be used directly, thus contructors are protected.