All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ParRunControl Class Reference

Helper class for initializing parallel jobs from the command arguments. More...

Public Member Functions

 ParRunControl ()
 
 ~ParRunControl ()
 
void runPar (int &argc, char **&argv, const bool needsThread)
 
bool parRun () const
 

Detailed Description

Helper class for initializing parallel jobs from the command arguments.

Definition at line 46 of file parRun.H.

Constructor & Destructor Documentation

◆ ParRunControl()

ParRunControl ( )
inline

Definition at line 52 of file parRun.H.

◆ ~ParRunControl()

~ParRunControl ( )
inline

Definition at line 57 of file parRun.H.

References Foam::endl(), UPstream::exit(), and Foam::Info.

Here is the call graph for this function:

Member Function Documentation

◆ runPar()

void runPar ( int &  argc,
char **&  argv,
const bool  needsThread 
)
inline

Definition at line 66 of file parRun.H.

References Foam::endl(), UPstream::exit(), Foam::Info, and UPstream::init().

Here is the call graph for this function:

◆ parRun()

bool parRun ( ) const
inline

Definition at line 77 of file parRun.H.


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