Package PyFoam :: Package Execution :: Module FoamThread
[hide private]
[frames] | no frames]

Module FoamThread

source code

Thread wrappers for OpenFOAM

Classes [hide private]
  FoamThread
Thread running an OpenFOAM command
Functions [hide private]
 
checkForStopFile(thrd)
Checks for the file 'stop' in the directory of the FoamRun.
source code
 
getLinuxMem(thrd)
Reads the Memory usage of a thread on a linux-System
source code
Function Details [hide private]

checkForStopFile(thrd)

source code 

Checks for the file 'stop' in the directory of the FoamRun. If it exists it is removed and the run is stopped gracefully

getLinuxMem(thrd)

source code 

Reads the Memory usage of a thread on a linux-System

Parameters:
  • thrd - the thread object in question