From f4a0a5cfe5ba92de809f3ed721a2a810f2cba1d1 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Fri, 18 Oct 2019 22:03:31 +0200 Subject: [PATCH] substitute error introduced when enabling MSC.Marc --- processing/post/DADF5_vtk_cells.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/processing/post/DADF5_vtk_cells.py b/processing/post/DADF5_vtk_cells.py index bb11a8eed..1f5cc6686 100755 --- a/processing/post/DADF5_vtk_cells.py +++ b/processing/post/DADF5_vtk_cells.py @@ -42,7 +42,7 @@ for filename in options.filenames: results = damask.DADF5(filename) if results.structured: # for grid solvers use rectilinear grid - grid = vtk.vtkRectilineagrid() + grid = vtk.vtkRectilinearGrid() coordArray = [vtk.vtkDoubleArray(), vtk.vtkDoubleArray(), vtk.vtkDoubleArray(), @@ -120,7 +120,7 @@ for filename in options.filenames: vtk_data[-1].SetName('1_'+x[0].split('/',1)[1]) grid.GetCellData().AddArray(vtk_data[-1]) - writer = vtk.vtkXMLRectilineagridWriter() if results.structured else \ + writer = vtk.vtkXMLRectilinearGridWriter() if results.structured else \ vtk.vtkXMLUnstructuredGridWriter() results.set_visible('constituents', False)