summaryrefslogtreecommitdiff
path: root/simdata.py
diff options
context:
space:
mode:
Diffstat (limited to 'simdata.py')
-rw-r--r--simdata.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/simdata.py b/simdata.py
index dd5398e..37bff6f 100644
--- a/simdata.py
+++ b/simdata.py
@@ -94,9 +94,6 @@ class SimulationData(object):
"A dictionary of { basename : DataFile } items representing the data files. The basename is the file name without the .h5 extension"
df = None
- "A dictionary of all the { gridfunction : [datafiles it is located in] } pairs for this set of data"
- gf = None
-
# per-refinement level parameters
rl = None
@@ -105,7 +102,6 @@ class SimulationData(object):
def __init__(self, dirname):
self.dirname = os.path.abspath(dirname)
self.df = {}
- self.gf = {}
# open all the hdf5 files in the dir
for f in os.listdir(dirname):
@@ -116,12 +112,6 @@ class SimulationData(object):
if len(self.df) == 0:
raise ValueError('No HDF5 data files in the directory.')
- for df in self.df.values():
- for ds in df.datasets:
- if ds.name in self.gf:
- self.gf[ds.name].append(df)
- self.gf[ds.name] = [df]
-
# pick a representative datafile and get the grid properties from it
if 'H' in self.df:
df = self.df['H']