34 void Foam::UIPBstream::bufferIPCrecv()
49 reinterpret_cast<char*>(&bufSize),
57 <<
"MPI_Bcast failure receiving buffer size" <<
nl 63 Pout<<
"UOPBstream IPC read buffer :" 66 <<
" probed size:" << bufSize
97 <<
"MPI_Bcast failure receiving buffer data:" << bufSize <<
nl 116 const commsTypes commsType,
117 const int rootProcNo,
119 const std::streamsize bufSize,
130 <<
"MPI_Bcast failure receiving data:" << label(bufSize) <<
nl 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.
constexpr char nl
The newline '\n' character (0x0a)
T * data() noexcept
Return pointer to the underlying array serving as data storage.
void resize(const label len)
Alter addressable list size, allocating new space if required while recovering old content...
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...
errorManip< error > abort(error &err)
int debug
Static debugging option.
label capacity() const noexcept
Size of the underlying storage.
DynamicList< char > & recvBuf_
static label read(const commsTypes commsTypes, const int rootProcNo, char *buf, const std::streamsize bufSize, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm)
Wrapped version of UPstream::broadcast.
void setEof() noexcept
Set stream state as reached 'eof'.
static bool broadcast(char *buf, const std::streamsize bufSize, const label communicator=worldComm, const int rootProcNo=masterNo())
Broadcast buffer contents to all processes in communicator. The sizes must match on all processes...
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.