PyFoam.RunDictionary.RegionCases module¶
Pseudo-Cases for Regions, built from symlinks
-
class
PyFoam.RunDictionary.RegionCases.
RegionCases
(sol, clean=False, processorDirs=True)[source]¶ Bases:
object
Builds pseudocases for the regions
-
__dict__
= mappingproxy({'__weakref__': <attribute '__weakref__' of 'RegionCases' objects>, 'clean': <function RegionCases.clean>, 'resyncAll': <function RegionCases.resyncAll>, '__init__': <function RegionCases.__init__>, '__doc__': 'Builds pseudocases for the regions', 'cleanAll': <function RegionCases.cleanAll>, 'resync': <function RegionCases.resync>, '_rename': <function RegionCases._rename>, '__module__': 'PyFoam.RunDictionary.RegionCases', '__dict__': <attribute '__dict__' of 'RegionCases' objects>, '_mklink': <function RegionCases._mklink>})¶
-
__init__
(sol, clean=False, processorDirs=True)[source]¶ Parameters: - sol – solution directory
- clean – Remove old pseudo-cases
-
__module__
= 'PyFoam.RunDictionary.RegionCases'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-
_mklink
(master, region, name, prefix='', postfix='')[source]¶ Makes a link from the master case to the pseudo-case :param master: Name of the master directory :param region: Name of one region :param name: Name of the directory to link :param prefix: A prefix to the path :param postfix: An actual file to the path
-