Package PyFoam :: Package RunDictionary :: Module RegionCases :: Class RegionCases
[hide private]
[frames] | no frames]

Class RegionCases

source code

Builds pseudocases for the regions

Instance Methods [hide private]
 
__init__(self, sol, clean=False, processorDirs=True) source code
 
resyncAll(self)
Update the master Case from all the region-cases
source code
 
resync(self, region)
Update the master case from a region case
source code
 
_mklink(self, master, region, name, prefix="", postfix="")
Makes a link from the master case to the pseudo-case
source code
 
_rename(self, master, region, name, prefix="", processor="")
Moves a directory from
source code
 
cleanAll(self) source code
 
clean(self, region) source code
Method Details [hide private]

__init__(self, sol, clean=False, processorDirs=True)
(Constructor)

source code 
Parameters:
  • sol - solution directory
  • clean - Remove old pseudo-cases

resync(self, region)

source code 

Update the master case from a region case

Parameters:
  • region - Name of the region

_mklink(self, master, region, name, prefix="", postfix="")

source code 

Makes a link from the master case to the pseudo-case

Parameters:
  • master - Name of the master directory
  • region - Name of one region
  • name - Name of the directory to link
  • prefix - A prefix to the path
  • postfix - An actual file to the path

_rename(self, master, region, name, prefix="", processor="")

source code 

Moves a directory from

Parameters:
  • master - Name of the master directory
  • region - Name of one region
  • name - Name of the directory to link
  • prefix - A prefix to the path