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

Class SurfaceDirectory

source code


A directory of sampled times

Instance Methods [hide private]
 
__contains__(self, time) source code
 
__getitem__(self, time) source code
 
__init__(self, case, dirName='surfaces')
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__iter__(self) source code
 
getData(self, surface=None, value=None, time=None)
Get Surface sets
source code
 
sorttimes(self, x, y)
Sort function for the solution files
source code
 
surfaces(self)
Returns all the found surfaces
source code
 
values(self)
Returns all the found surface values
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, case, dirName='surfaces')
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • case - The case directory
  • dirName - Name of the directory with the surfaces
Overrides: object.__init__

getData(self, surface=None, value=None, time=None)

source code 

Get Surface sets

Parameters:
  • line - name of the line. All if unspecified
  • value - name of the surfaced value. All if unspecified
  • time - times for which the surfaces are to be got. All if unspecified