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

Class BoundaryDict

source code

                 object --+                    
                          |                    
 Basics.Utilities.Utilities --+                
                              |                
            FileBasis.FileBasis --+            
                                  |            
          FileBasis.FileBasisBackup --+        
                                      |        
ParsedParameterFile.ParsedParameterFile --+    
                                          |    
     ParsedParameterFile.ParsedBoundaryDict --+
                                              |
                                             BoundaryDict

Handles data in a boundary-File

Instance Methods [hide private]
  __init__(self, case, backup=False, region=None)
  __getitem__(self, key)
  __setitem__(self, key, value)
  patches(self, patchType=None)
Returns a list with the names of the patches

Inherited from ParsedParameterFile.ParsedBoundaryDict: __str__, parse

Inherited from FileBasis.FileBasisBackup: restore

Inherited from FileBasis.FileBasis: closeFile, copyRest, goMatch, goTo, makeTemp, openFile, purgeFile, readFile, writeFile

Inherited from Basics.Utilities.Utilities: execute, listDirectory, writeDictionaryHeader

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__


Class Variables [hide private]

Inherited from FileBasis.FileBasis: addedString, removedString

Inherited from Basics.Utilities.Utilities: excludeNames


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, case, backup=False, region=None)
(Constructor)

source code 
Parameters:
  • case - Path to the case-directory
Overrides: ParsedParameterFile.ParsedBoundaryDict.__init__

__getitem__(self, key)
(Indexing operator)

source code 
None
Overrides: ParsedParameterFile.ParsedParameterFile.__getitem__

__setitem__(self, key, value)
(Index assignment operator)

source code 
None
Overrides: ParsedParameterFile.ParsedParameterFile.__setitem__

patches(self, patchType=None)

source code 
Returns a list with the names of the patches
Parameters:
  • patchType - If specified only patches of the specific type are returned