64 dict.readIfPresent(
"detail", reportLevel_);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static bool parRun(const bool on) noexcept
Set as parallel run on/off.
static label nProcs(const label communicator=worldComm)
Number of ranks in parallel run (for given communicator). It is 1 for serial run.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Abstract base-class for Time/database function objects.
const word & name() const noexcept
Return the name of this functionObject.
functionObject(const word &name, const bool withNamePrefix=defaultUseNamePrefix)
Construct from components.
Simple (simplistic) mpi-profiling.
virtual ~parProfiling()
Destructor. Disables profilingPstream.
parProfiling(const parProfiling &)=delete
No copy construct.
virtual bool execute()
Execute the function-object operations.
void report()
Report the current profiling information.
virtual bool write()
Write the function-object results (no-op).
virtual bool end()
Disables profilingPstream.
static void disable() noexcept
Remove timer for measuring communication activity. Does not affect times/counts.
static void enable()
Create timer for measuring communication or un-suspend existing.
static void report(const int reportLevel=0)
Report current information. Uses parallel communication!
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
messageStream Info
Information stream (stdout output on master, null elsewhere).
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
constexpr char nl
The newline '\n' character (0x0a).