44 const std::string& envName
50 os.writeEntry(key, value);
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");
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
static std::string dateTime()
virtual bool write()
Write the output fields.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
const std::string build
OpenFOAM build information as a std::string.
const std::string version
OpenFOAM version (name or stringified number) as a std::string.
string getEnv(const std::string &envName)
Get environment value for given envName.
string hostName()
Return the system's host name, as per hostname(1)