Home | Trees | Index | Help |
---|
Package PyFoam :: Package Execution :: Module FoamThread :: Class FoamThread |
|
object
--+ |_Verbose
--+ |Thread
--+ | FoamThread
Thread running an OpenFOAM command
The output of the command can be accessed in a thread-safe manner, line by line
Designed to be used by the BasicRunner-classMethod Summary | |
---|---|
cmdline - Command line of the OpenFOAM command | |
Return false if there is no more output of the command | |
Return number of seconds CPU-Time used in system mode | |
Return number of seconds CPU-Time used | |
Return number of seconds CPU-Time used in user mode | |
gets the last line from the output | |
A keyboard-interrupt is reported | |
read another line from the output | |
start the command | |
sets the state of the thread (is there any more output) | |
stopTimer(self)
| |
Return maximum resident set size in MegaByte | |
Return the wall-clock-time needed by the process | |
Inherited from Thread | |
| |
| |
| |
| |
| |
| |
| |
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
__init__(self,
cmdline)
cmdline - Command line of the OpenFOAM command
|
check(self)
|
cpuSystemTime(self)
|
cpuTime(self)
|
cpuUserTime(self)
|
getLine(self)gets the last line from the output |
interrupt(self)A keyboard-interrupt is reported |
read(self)read another line from the output |
run(self)start the command
|
setState(self, state)sets the state of the thread (is there any more output) |
usedMemory(self)
|
wallTime(self)
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Jan 22 23:52:48 2007 | http://epydoc.sf.net |