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

Class ListFile

source code

                object --+            
                         |            
Basics.Utilities.Utilities --+        
                             |        
           FileBasis.FileBasis --+    
                                 |    
         SolutionFile.SolutionFile --+
                                     |
                                    ListFile

Represents a OpenFOAM file with only a list

Instance Methods [hide private]
  __init__(self, place, name)
  getSize(self)

Inherited from SolutionFile.SolutionFile: dimensionPattern, getDimensionString, internalPattern, internalPatternUniform, makeTemp, openFile, readBoundary, readDimension, readInternal, readInternalUniform, replaceBoundary, replaceInternal, stopPattern, valuePattern

Inherited from FileBasis.FileBasis: closeFile, copyRest, goMatch, goTo, makeString, parse, purgeFile, readFile, writeFile

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

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


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, place, name)
(Constructor)

source code 
Parameters:
  • place - directory of the file
  • name - The name of the list file
Overrides: SolutionFile.SolutionFile.__init__

getSize(self)

source code 
Returns:
the size of the list