Go to the documentation of this file.
40 inline static void printEnv
44 const std::string& envName
71 printEnv(os,
"arch",
"WM_ARCH");
72 printEnv(os,
"compilerType",
"WM_COMPILER_TYPE");
73 printEnv(os,
"compiler",
"WM_COMPILER");
74 printEnv(os,
"mplib",
"WM_MPLIB");
75 printEnv(os,
"options",
"WM_OPTIONS");
const std::string build
OpenFOAM build information as a std::string.
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
A class for handling words, derived from Foam::string.
string getEnv(const std::string &envName)
Get environment value for given envName.
static std::string dateTime()
const std::string version
OpenFOAM version (name or stringified number) as a std::string.
string hostName(const bool full=false)
Return the system's host name, as per hostname(1)
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & write(Ostream &os) const
Write the profiling system-info, use dictionary format.