Commit f394ed94 authored by Denis Taniguchi's avatar Denis Taniguchi
Browse files

dump vtk also works with VTK version 8.

parent 11a5ed0e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -93,10 +93,10 @@ enum{VTK,VTP,VTU,PVTP,PVTU}; // file formats
#define ONEFIELD 32
#define DELTA 1048576

#if VTK_MAJOR_VERSION == 7
#if VTK_MAJOR_VERSION >= 7
#define InsertNextTupleValue InsertNextTypedTuple
#elif VTK_MAJOR_VERSION > 7
#error This code has only been tested with VTK 5, 6, and 7
#elif VTK_MAJOR_VERSION > 8
#error This code has only been tested with VTK 5, 6, 7, and 8
#endif

/* ---------------------------------------------------------------------- */