From 48e5e8912314b9eff58711cea88ce5c3d78fe5f6 Mon Sep 17 00:00:00 2001
From: Incardona Pietro <incardon@mpi-cbg.de>
Date: Tue, 15 Jun 2021 23:40:44 +0200
Subject: [PATCH] Fixing Point 1D

---
 src/VTKWriter/VTKWriter_grids_util.hpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/VTKWriter/VTKWriter_grids_util.hpp b/src/VTKWriter/VTKWriter_grids_util.hpp
index 2ccba06..0214d2e 100644
--- a/src/VTKWriter/VTKWriter_grids_util.hpp
+++ b/src/VTKWriter/VTKWriter_grids_util.hpp
@@ -114,7 +114,10 @@ template<unsigned int i, typename ele_g, bool has_attributes> std::string get_po
 
                 // We check if it is a vector or scalar like type
                 if (vtk_dims<ctype>::value == 1)
+                {
                     v_out += "SCALARS " + getAttrName<ele_g,has_attributes>::get(i,prop_names,oprp) + " " + type + "\n";
+                    v_out += "LOOKUP_TABLE default\n";
+                }
                 else
                     v_out += "VECTORS " + getAttrName<ele_g,has_attributes>::get(i,prop_names,oprp) + " " + type + "\n";
             }
-- 
GitLab