Module FoamInformation
source code
Getting Information about the Foam-Installation (like the installation
directory)
string
|
|
|
|
|
foamMPI()
@return the used MPI-Implementation |
source code
|
|
|
|
|
|
|
|
|
|
|
injectVariables(script)
Executes a script in a subshell and changes the current environment
with the enivironment after the execution |
source code
|
|
Imports:
environ,
path,
listdir,
popen4,
re,
error,
warning,
config
Gets a path from an environment variable
- Parameters:
name - the name of the environment variable
- Returns: string
- the path
|
- Returns:
- directory in which the tutorials reside
|
- Returns:
- tuple that represents the Foam-version as found in
$WM_PROJECT_VERSION
|
- Returns:
- tuple that represents the Foam-Version-Number (without strings
|
- Returns:
- A list with the installed versions of OpenFOAM
|
Changes the used FoamVersion. Only valid during the runtime of the
interpreter (the script or the Python session)
- Parameters:
|
Executes a script in a subshell and changes the current environment
with the enivironment after the execution
- Parameters:
script - the script that is executed
|