40 <<
"The dummy Pstream library cannot be used in parallel mode" 50 <<
"The dummy Pstream library cannot be used in parallel mode" 78 void Foam::UPstream::allocatePstreamCommunicator
86 void Foam::UPstream::freePstreamCommunicator(
const label)
errorManipArg< error, int > exit(error &err, const int errNo=1)
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.
static label nRequests() noexcept
Number of outstanding requests.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static bool initNull()
Special purpose initialisation function.
static bool finishedRequest(const label i)
Non-blocking comms: has request i finished?
static void shutdown(int errNo=0)
Shutdown (finalize) MPI as required.
static void exit(int errNo=1)
Shutdown (finalize) MPI as required and exit program with errNo.
static bool init(int &argc, char **&argv, const bool needsThread)
Initialisation function called from main.
A HashTable similar to std::unordered_map.
errorManip< error > abort(error &err)
static void resetRequests(const label n)
Truncate outstanding requests to given length.
static void waitRequests(const label start=0)
Wait until all requests (from start onwards) have finished.
static void abort()
Call MPI_Abort with no other checks or cleanup.
#define WarningInFunction
Report a warning using Foam::Warning.
static void waitRequest(const label i)
Wait until request i has finished.
static void addValidParOptions(HashTable< string > &validParOptions)
Add the valid option this type of communications library adds/requires on the command line...