forked from lijiext/lammps
Work around VTK 7 API change
This commit is contained in:
parent
08ec55743e
commit
cac1bf83ef
|
@ -94,6 +94,12 @@ enum{VTK,VTP,VTU,PVTP,PVTU}; // file formats
|
|||
#define ONEFIELD 32
|
||||
#define DELTA 1048576
|
||||
|
||||
#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
|
||||
#endif
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
DumpVTK::DumpVTK(LAMMPS *lmp, int narg, char **arg) :
|
||||
|
|
Loading…
Reference in New Issue