name change in development

This commit is contained in:
Martin Diehl 2019-10-18 12:55:15 +02:00
parent de912c22b4
commit edcb8f9c4d
1 changed files with 1 additions and 1 deletions

View File

@ -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):