Home | Trees | Index | Help |
---|
Package PyFoam :: Package Execution :: Module BasicRunner :: Class BasicRunner |
|
AnalyzedRunner
,
GnuplotRunner
,
StepAnalyzedRunner
Base class for the running of commands
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:
<cmd> <dir> <case>
The directory name for outputs is therefor created from <dir> and <case>
Provides some handle-methods that are to be overloaded for additional functionalityMethod Summary | |
---|---|
| |
PyFoam.RunDictionary.SolutionDirectory |
Return the directory of the case |
called every time a new line is read | |
Get the name of the logfiles | |
checks whether the run was successful | |
starts the command and stays with it till the end | |
to be called before the program is started | |
called after the program has stopped |
Method Details |
---|
__init__(self,
argv=None,
silent=False,
logname='PyFoam',
lam=None,
server=False)
|
getSolutionDirectory(self, archive=None)
|
lineHandle(self, line)called every time a new line is read |
logName(self)Get the name of the logfiles |
runOK(self)checks whether the run was successful |
start(self)starts the command and stays with it till the end |
startHandle(self)to be called before the program is started |
stopHandle(self)called after the program has stopped |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Jan 22 23:52:48 2007 | http://epydoc.sf.net |