Go to the documentation of this file.
40 <<
" from file " <<
endl;
56 <<
"--- IOdictionary " <<
name()
90 if (myComm.
above() != -1)
95 <<
" from processor " << myComm.
above() <<
endl;
120 <<
" to processor " << myComm.
below()[belowI] <<
endl;
125 myComm.
below()[belowI],
146 <<
"--- IOdictionary " <<
name()
147 <<
' ' << objectPath() <<
":" <<
nl;
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
Output inter-processor communications stream.
static label nProcs(const label communicator=0)
Number of processes in parallel run.
static bool & parRun()
Is this a parallel run?
static void scatter(const List< commsStruct > &comms, T &Value, const int tag, const label comm)
Scatter data. Distribute without modification. Reverse of gather.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool writeData(Ostream &) const
WriteData function required for regIOobject write operation.
fileName objectPath() const
Return complete path + object name.
bool writeHeader(Ostream &) const
Write header.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const word & headerClassName() const
Return name of the class name read from header.
bool readData(Istream &)
ReadData function required for regIOobject read operation.
const bool writeData(readBool(pdfDictionary.lookup("writeData")))
bool bad() const
Return true if stream is corrupted.
void readFile(const bool)
Read dictionary from file.
static bool masterOnlyReading
To flag master-only reading of objects.
Structure for communicating between processors.
static int myProcNo(const label communicator=0)
Number of this process (starting from masterNo() = 0)
static bool master(const label communicator=0)
Am I the master process.
static int nProcsSimpleSum
Number of processors at which the sum algorithm changes from linear.
static int & msgType()
Message tag of standard messages.
Istream & readStream()
Return Istream.
const word & name() const
Name function is needed to disambiguate those inherited.
prefixOSstream Pout(cout, "Pout")
void close()
Close Istream.
static label worldComm
Default communicator (all processors)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static bool writeDictionaries
Input inter-processor communications stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static const List< commsStruct > & linearCommunication(const label communicator=0)
Communication schedule for linear all-to-master (proc 0)
OSstream Sout(cout, "Sout")
bool good() const
Return true if next operation might succeed.
word name(const complex &)
Return a string representation of a complex.
string & note()
Return non-constant access to the optional note.
const labelList & below() const
static const List< commsStruct > & treeCommunication(const label communicator=0)
Communication schedule for tree all-to-master (proc 0)
void write(Ostream &, const bool subDict=true) const
Write dictionary, normally with sub-dictionary formatting.