masterUncollatedFileOperationInitialise Class Reference

fileOperations that performs all file operations on the master processor. Requires the calls to be parallel synchronised! More...

Inheritance diagram for masterUncollatedFileOperationInitialise:
Collaboration diagram for masterUncollatedFileOperationInitialise:

Public Member Functions

 masterUncollatedFileOperationInitialise (int &argc, char **&argv)
 Construct from components. More...
 
virtual ~masterUncollatedFileOperationInitialise ()
 Destructor. More...
 
- Public Member Functions inherited from unthreadedInitialise
 unthreadedInitialise (int &argc, char **&argv)
 Construct from components. More...
 
virtual ~unthreadedInitialise ()
 Destructor. More...
 
virtual bool needsThreading () const
 Needs threading. More...
 
- Public Member Functions inherited from fileOperationInitialise
 TypeName ("fileOperationInitialise")
 Runtime type information. More...
 
 fileOperationInitialise (int &argc, char **&argv)
 Construct components. More...
 
 declareRunTimeSelectionTable (autoPtr, fileOperationInitialise, word,(int &argc, char **&argv),(argc, argv))
 
virtual ~fileOperationInitialise ()
 Destructor. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from fileOperationInitialise
static autoPtr< fileOperationInitialiseNew (const word &type, int &argc, char **&argv)
 Select type. More...
 

Detailed Description

fileOperations that performs all file operations on the master processor. Requires the calls to be parallel synchronised!

Limitations: - no /processor in filename

  • no /uniform/ in the filename

The main logic is in ::filePath which returns a

  • same path on all processors. This can either be a global file (system/controlDict, processorXXX/0/uniform/) or a collated file (processors/0/p)
  • same path on all processors of the local communicator (processors4_0-1/0/p)
  • different path on all processors (processor0/0/p)

system/controlDict: filePath worldmaster: <globalRoot>/system/controlDict localmaster: ,, slave : ,,

processor0/uniform/time filePath worldmaster: <globalRoot>/processorXXX/uniform/time localmaster: ,, slave : ,,

processors0/0/p processors10/0/p processors10_2-4/0/p

Definition at line 798 of file masterUncollatedFileOperation.H.

Constructor & Destructor Documentation

◆ masterUncollatedFileOperationInitialise()

masterUncollatedFileOperationInitialise ( int &  argc,
char **&  argv 
)

Construct from components.

Definition at line 798 of file masterUncollatedFileOperation.C.

References s(), Foam::setEnv(), and masterUncollatedFileOperation::~masterUncollatedFileOperation().

Referenced by masterUncollatedFileOperation::masterUncollatedFileOperation().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~masterUncollatedFileOperationInitialise()

virtual ~masterUncollatedFileOperationInitialise ( )
inlinevirtual

Destructor.

Definition at line 811 of file masterUncollatedFileOperation.H.


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