There is a number of variables in this class that are used to
'communicate' information between the various stages
|
__init__(self,
basename,
arrayJob=False,
hardRestart=False,
autoParallel=True,
doAutoReconstruct=True,
foamVersion=None,
useFoamMPI=False,
multiRegion=False)
Initializes the Job |
source code
|
|
|
fullJobId(self)
Return a string with the full job-ID |
source code
|
|
|
|
|
|
|
jobFile(self)
The file with the job information |
source code
|
|
|
checkpointFile(self)
The file that makes the job write a checkpoint |
source code
|
|
|
stopFile(self)
The file that makes the job write a checkpoint and end |
source code
|
|
|
|
|
casedir(self)
Returns the actual directory of the case To be overridden if
appropriate |
source code
|
|
|
casename(self)
Returns just the name of the case |
source code
|
|
|
foamRun(self,
application,
args=[],
foamArgs=[],
steady=False,
multiRegion=None,
progress=False,
noLog=False)
Runs a foam utility on the case. |
source code
|
|
|
autoDecompose(self)
Automatically decomposes the grid with a metis-algorithm |
source code
|
|
|
autoReconstruct(self)
Default reconstruction of a parallel run |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|