39namespace functionObjects
75 <<
" root:" << root_ <<
endl;
99 for (
const int proci : pBufs.
allProcs())
114 Pout<<
"** to processor " << proci
116 <<
" sending dictionary:" << sendDataDict <<
endl;
125 for (
const int proci : pBufs.
allProcs())
137 Pout<<
"** from processor " << proci
139 <<
" received dictionary:" << fromProcDict <<
endl;
141 mappedPatchBase::readDict
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
fileName objectPath() const
The complete path + object name.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
UPstream::rangeType allProcs() const noexcept
Range of ranks indices associated with PstreamBuffers.
void finishedSends(const bool wait=true)
Mark sends as done.
virtual bool read()
Re-read model coefficients if they have changed.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
@ nonBlocking
"nonBlocking"
static label warnComm
Debugging: warn for use of any communicator differing from warnComm.
static int & msgType() noexcept
Message tag of standard messages.
static bool & parRun() noexcept
Test if this a parallel run.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
static const fileName null
An empty fileName.
Abstract base-class for Time/database function objects.
Foam::dictionary writeDict() const
Write to dictionary.
Copies content of local objectRegistry to all processors.
void sync()
Do all: synchronise all IOFields and objectRegistry.
virtual bool execute()
Do nothing.
virtual bool write()
Write the registered objects.
virtual bool read(const dictionary &)
Read the syncObjects data.
static const objectRegistry & subRegistry(const objectRegistry &obr, const wordList &names, const label index)
static fileName sendPath(const fileName &root, const label proci)
Helper: return path to store data to be sent to processor i.
static fileName receivePath(const fileName &root, const label proci)
Registry of regIOobjects.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.