Go to the documentation of this file.
46 if (syncPar && Pstream::parRun())
49 const wordList localNames(masterNames);
50 Pstream::scatter(masterNames);
56 const word& masterFld = masterNames[i];
60 if (iter == localNamesSet.end())
63 <<
"Fields not synchronised across processors." <<
endl
64 <<
"Master has fields " << masterNames
65 <<
" processor " << Pstream::myProcNo()
70 localNamesSet.
erase(iter);
77 <<
"Fields not synchronised across processors." <<
endl
78 <<
"Master has fields " << masterNames
79 <<
" processor " << Pstream::myProcNo()
A class for handling words, derived from string.
An STL-conforming iterator.
#define forAll(list, i)
Loop across all elements in list.
wordList sortedNames() const
Return the sorted list of names of the IOobjects.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A HashTable with keys but without contents.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
bool erase(const iterator &)
Erase a hashedEntry specified by given iterator.
iterator find(const Key &)
Find and return an iterator set at the hashedEntry.
List of IOobjects with searching and retrieving facilities.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Helper routine to read fields.
wordList fieldNames(const IOobjectList &objects, const bool syncPar)
Get sorted names of fields of type. If syncPar and running in parallel.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...