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,
logTail=None,
remark=None,
jobId=None,
parameters=None,
writeState=True)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
appendTailLine(self,
line)
Append lines to the tail of the log |
source code
|
|
PyFoam.RunDictionary.SolutionDirectory
|
|
|
lineHandle(self,
line)
called every time a new line is read |
source code
|
|
|
|
|
runOK(self)
checks whether the run was successful |
source code
|
|
|
start(self)
starts the command and stays with it till the end |
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
|
|
|
stopHandle(self)
called after the program has stopped |
source code
|
|
|
|
|
|
|
writeResults(self)
Writes the next possible time-step |
source code
|
|
|
writeStartTime(self)
Write the real time the run was started at |
source code
|
|
|
writeTailLog(self)
Write the last lines to the log |
source code
|
|
|
writeTheState(self,
state,
always=True)
Write the current state the run is in |
source code
|
|
|
writeToStateFile(self,
fName,
message)
Write a message to a state file |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|