FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

dummyPstreamImpl Class Reference

Dummy implementation of the PstreamImpl abstract base class. More...

#include <dummyPstream/dummyPstreamImpl.H>


Detailed Description

Dummy implementation of the PstreamImpl abstract base class.

Source files

Definition at line 55 of file dummyPstreamImpl.H.

Inheritance diagram for dummyPstreamImpl:
Collaboration diagram for dummyPstreamImpl:

List of all members.

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 (.

Constructor & Destructor Documentation

dummyPstreamImpl (  ) [inline]

Construct null.

Definition at line 75 of file dummyPstreamImpl.H.


Member Function Documentation

TypeName ( "dummyPstreamImpl"    )
void addValidParOptions ( HashTable< string > &   validParOptions  ) [virtual]

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 (.

See also:
PstreamReduceOps.H)

Implements PstreamImpl.

Definition at line 70 of file dummyPstreamImpl.C.


The documentation for this class was generated from the following files: