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

Class ParsedBlockMeshDict

source code

                 object --+                
                          |                
 Basics.Utilities.Utilities --+            
                              |            
            FileBasis.FileBasis --+        
                                  |        
          FileBasis.FileBasisBackup --+    
                                      |    
ParsedParameterFile.ParsedParameterFile --+
                                          |
                                         ParsedBlockMeshDict

A parsed version of a blockMeshDict-file. Adds some convenience-methods to access parts of the file

Instance Methods [hide private]
  __init__(self, name, backup=False, debug=False)
  convertToMeters(self)
  vertices(self)
  blocks(self)
  patches(self)
  arcs(self)
  getBounds(self)
  typicalLength(self)

Inherited from ParsedParameterFile.ParsedParameterFile: __getitem__, __setitem__, __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, name, backup=False, debug=False)
(Constructor)

source code 
Overrides: ParsedParameterFile.ParsedParameterFile.__init__
(inherited documentation)

convertToMeters(self)

source code 
None

vertices(self)

source code 
None

blocks(self)

source code 
None

patches(self)

source code 
None

arcs(self)

source code 
None

getBounds(self)

source code 
None

typicalLength(self)

source code 
None