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 (.
| |
| dummyPstreamImpl | ( | ) | [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.
| bool init | ( | int & | argc, |
| char **& | argv, | ||
| int & | myProcNo_, | ||
| List< int > & | procIDs_, | ||
| bool & | isParallel | ||
| ) | [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.
| void exit | ( | int | errnum ) | [virtual]
|
Exit program.
Implements PstreamImpl.
Definition at line 58 of file dummyPstreamImpl.C.
References notImplemented.
| void abort | ( | ) | [virtual]
|
Abort program.
Implements PstreamImpl.
Definition at line 64 of file dummyPstreamImpl.C.
References notImplemented.
| void reduce | ( | scalar & | Value, |
| const sumOp< scalar > & | bop | ||
| ) | [virtual]
|
Reduce implementation for scalars (.
Implements PstreamImpl.
Definition at line 70 of file dummyPstreamImpl.C.