Go to the documentation of this file.
38 <<
"Trying to use the dummy Pstream library." <<
nl
39 <<
"This dummy library cannot be used in parallel mode"
static void resetRequests(const label sz)
Truncate number of outstanding requests.
static void exit(int errnum=1)
Exit program.
static void waitRequests(const label start=0)
Wait until all requests (from start onwards) have finished.
static void abort()
Abort program.
static void freePstreamCommunicator(const label index)
Free a communicator.
static void allocatePstreamCommunicator(const label parentIndex, const label index)
Allocate a communicator with index.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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.
errorManipArg< error, int > exit(error &err, const int errNo=1)
An STL-conforming hash table.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static label nRequests()
Get number of outstanding requests.
static bool finishedRequest(const label i)
Non-blocking comms: has request i finished?
void sumReduce(T &Value, label &Count, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
static bool init(int &argc, char **&argv)
Initialisation function called from main.