From df93a364438d078a96dc48bfb16d09abca475aa8 Mon Sep 17 00:00:00 2001 From: Stephane Del Pino <stephane.delpino44@gmail.com> Date: Mon, 20 Jul 2020 22:55:38 +0200 Subject: [PATCH] Fix VTK output of polyhedrons By now, the code only manages diamond cells as polyhedrons, but output is general (up to the simple definition of a polyhedral cell type) --- src/output/VTKWriter.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output/VTKWriter.hpp b/src/output/VTKWriter.hpp index e1ce50181..d2459353e 100644 --- a/src/output/VTKWriter.hpp +++ b/src/output/VTKWriter.hpp @@ -354,7 +354,7 @@ class VTKWriter break; } case CellType::Diamond: { - types[j] = 42; + types[j] = 41; break; } default: { -- GitLab