37 namespace functionObjects
64 dict.readIfPresent(
"detail", reportLevel_);
virtual bool end()
Disables profilingPstream.
defineTypeNameAndDebug(ObukhovLength, 0)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
constexpr char nl
The newline '\n' character (0x0a)
static bool & parRun() noexcept
Test if this a parallel run.
Abstract base-class for Time/database function objects.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
static label nProcs(const label communicator=worldComm)
Number of ranks in parallel run (for given communicator). It is 1 for serial run. ...
virtual bool execute()
Report.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
virtual ~parProfiling()
Destructor. Disables profilingPstream.
A class for handling words, derived from Foam::string.
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
parProfiling(const parProfiling &)=delete
No copy construct.
static void disable() noexcept
Remove timer for measuring communication activity. Does not affect times/counts.
messageStream Info
Information stream (stdout output on master, null elsewhere)
static void report(const int reportLevel=0)
Report current information. Uses parallel communication!
void report()
Report the current profiling information.
static void enable()
Create timer for measuring communication or un-suspend existing.
virtual bool write()
Do nothing.