Dummy implementation of the PstreamImpl abstract base class. More...
#include <dummyPstream/dummyPstreamImpl.H>
Dummy implementation of the PstreamImpl abstract base class.
Definition at line 55 of file dummyPstreamImpl.H.
Inheritance diagram for dummyPstreamImpl:
Collaboration diagram for dummyPstreamImpl:Public Member Functions | |
| TypeName ("dummyPstreamImpl") | |
| dummyPstreamImpl () | |
| Construct null. | |
| virtual void | addValidParOptions (HashTable< string > &validParOptions) |
| Add the valid option this type of communications library. | |
| virtual bool | init (int &argc, char **&argv, int &myProcNo_, List< int > &procIDs_, bool &isParallel) |
| Initialisation function called from main. | |
| virtual void | exit (int errnum) |
| Exit program. | |
| virtual void | abort () |
| Abort program. | |
| void | reduce (scalar &Value, const sumOp< scalar > &bop) |
| Reduce implementation for scalars (. | |
Public Member Functions inherited from PstreamImpl | |
| TypeName ("PstreamImpl") | |
| declareRunTimeSelectionTable (autoPtr, PstreamImpl, dictionary,(),()) | |
| PstreamImpl () | |
| Construct null. | |
| virtual | ~PstreamImpl () |
Additional Inherited Members | |
Static Public Member Functions inherited from PstreamImpl | |
| static autoPtr< PstreamImpl > | New () |
| Return a reference to the selected PstreamImpl implementation. | |
| static void | loadPstreamLibrary () |
| Loads the Pstream implementation library. | |
| template<class T , class CTable > | |
| static autoPtr< T > | loadPstreamInstance (const word &dictEntry, const word &envName, CTable *ctable) |
| Loads the given type from the Pstream implementation library. | |
Static Protected Member Functions inherited from PstreamImpl | |
| static void | setParRun (bool &isParallel) |
| Set data for parallel running. | |
| static void | initCommunicationSchedule () |
| Initialize all communication schedules. Callback from. | |
|
inline |
Construct null.
Definition at line 75 of file dummyPstreamImpl.H.
| TypeName | ( | "dummyPstreamImpl" | ) |
Add the valid option this type of communications library.
adds/requires on the command line
Implements PstreamImpl.
Definition at line 43 of file dummyPstreamImpl.C.
|
virtual |
Initialisation function called from main.
Spawns slave processes and initialises inter-communication
Implements PstreamImpl.
Definition at line 47 of file dummyPstreamImpl.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, and Foam::nl.
|
virtual |
Exit program.
Implements PstreamImpl.
Definition at line 58 of file dummyPstreamImpl.C.
References notImplemented.
|
virtual |
Abort program.
Implements PstreamImpl.
Definition at line 64 of file dummyPstreamImpl.C.
References notImplemented.
|
virtual |
Reduce implementation for scalars (.
Implements PstreamImpl.
Definition at line 70 of file dummyPstreamImpl.C.