When the command is run the output is copied to a LogFile and
(optionally) standard-out
The argument list assumes for the first three elements the
OpenFOAM-convention:
Provides some handle-methods that are to be overloaded for additional
functionality
|
__init__(self,
argv=None,
silent=False,
logname=None,
compressLog=False,
lam=None,
server=False,
restart=False,
noLog=False,
remark=None,
jobId=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
start(self)
starts the command and stays with it till the end |
source code
|
|
|
runOK(self)
checks whether the run was successful |
source code
|
|
|
startHandle(self)
to be called before the program is started |
source code
|
|
|
stopGracefully(self)
Tells the runner to stop at the next convenient time |
source code
|
|
|
writeResults(self)
Writes the next possible time-step |
source code
|
|
|
stopHandle(self)
called after the program has stopped |
source code
|
|
|
lineHandle(self,
line)
called every time a new line is read |
source code
|
|
|
|
PyFoam.RunDictionary.SolutionDirectory
|
|
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|