Home | Trees | Indices | Help |
---|
|
1 """Utility functions""" 2 3 from os import listdir 46 """get a list of all the files with information about the 7 residuals of the linear solver (only the ones without _2 etc 8 9 d - the directory""" 10 names=[] 11 for f in listdir(d): 12 tmp=f.split("_") 13 if len(tmp)>1: 14 if tmp[0]=="linear": 15 name=tmp[1] 16 if names.count(name)==0: 17 names.append(name) 18 19 return names20
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0alpha3 on Thu Mar 29 18:31:37 2007 | http://epydoc.sourceforge.net |