From edcb8f9c4ddb7a93c350013f2821d9a34fd1495d Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Fri, 18 Oct 2019 12:55:15 +0200 Subject: [PATCH] name change in development --- processing/post/DADF5_vtk_cells.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processing/post/DADF5_vtk_cells.py b/processing/post/DADF5_vtk_cells.py index 700ce4404..bb11a8eed 100755 --- a/processing/post/DADF5_vtk_cells.py +++ b/processing/post/DADF5_vtk_cells.py @@ -128,7 +128,7 @@ for filename in options.filenames: x = results.get_dataset_location('u_n') vtk_data.append(numpy_support.numpy_to_vtk(num_array=results.read_dataset(x,0),deep=True,array_type=vtk.VTK_DOUBLE)) vtk_data[-1].SetName('u') - rGrid.GetPointData().AddArray(vtk_data[-1]) + grid.GetPointData().AddArray(vtk_data[-1]) dirname = os.path.abspath(os.path.join(os.path.dirname(filename),options.dir)) if not os.path.isdir(dirname):