MPI implementation of the OPstreamImpl abstract base class. More...
#include <mpiPstream/mpiOPstreamImpl.H>
MPI implementation of the OPstreamImpl abstract base class.
Definition at line 55 of file mpiOPstreamImpl.H.
Inheritance diagram for mpiOPstreamImpl:
Collaboration diagram for mpiOPstreamImpl:Public Member Functions | |
| TypeName ("mpiOPstreamImpl") | |
| mpiOPstreamImpl () | |
| Construct null. | |
| virtual void | flush (const PstreamImpl::commsTypes commsType, const int toProcNo, const char *buf, const int bufPosition) |
| Flush the buffer (used in OPstream::~OPstream()) | |
| virtual bool | write (const PstreamImpl::commsTypes commsType, const int toProcNo, const char *buf, const std::streamsize bufSize) |
| Write given buffer to given processor. | |
| virtual void | waitRequests () |
| Non-blocking writes: wait until all have finished. | |
| virtual bool | finishedRequest (const label i) |
| Non-blocking writes: has request i finished? | |
Public Member Functions inherited from OPstreamImpl | |
| TypeName ("OPstreamImpl") | |
| declareRunTimeSelectionTable (autoPtr, OPstreamImpl, dictionary,(),()) | |
| OPstreamImpl () | |
| Construct null. | |
Additional Inherited Members | |
Static Public Member Functions inherited from OPstreamImpl | |
| static autoPtr< OPstreamImpl > | New () |
| Return a reference to the selected OPstreamImpl implementation. | |
|
inline |
Construct null.
Definition at line 75 of file mpiOPstreamImpl.H.
| TypeName | ( | "mpiOPstreamImpl" | ) |
|
virtual |
Flush the buffer (used in OPstream::~OPstream())
Implements OPstreamImpl.
Definition at line 49 of file mpiOPstreamImpl.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
|
virtual |
Write given buffer to given processor.
Implements OPstreamImpl.
Definition at line 77 of file mpiOPstreamImpl.C.
References Foam::abort(), Foam::FatalError, FatalErrorIn, and Foam::PstreamGlobals::OPstream_outstandingRequests_.
|
virtual |
Non-blocking writes: wait until all have finished.
Implements OPstreamImpl.
Definition at line 141 of file mpiOPstreamImpl.C.
References Foam::endl(), FatalErrorIn, and Foam::PstreamGlobals::OPstream_outstandingRequests_.
|
virtual |
Non-blocking writes: has request i finished?
Implements OPstreamImpl.
Definition at line 166 of file mpiOPstreamImpl.C.
References Foam::abort(), Foam::FatalError, FatalErrorIn, Foam::nl, and Foam::PstreamGlobals::OPstream_outstandingRequests_.