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

Source Code for Module PyFoam.RunDictionary.SampleDictionary

 1  #  ICE Revision: $Id:$ 
 2  """Working with a directory of samples""" 
 3   
 4  from os import path,listdir 
 5   
6 -class SampleDirectory(object):
7 """A directory of sampled times""" 8
9 - def __init__(self,case,dirName="samples"):
10 """@param case: The case directory 11 @param dirName: Name of the directory with the samples""" 12 13 self.dir=path.join(case,dirName) 14 self.times=[]
15