From d7fbaeb3c7baca2ea34c08d0c29d1f9cfa78f588 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Del=20Pino?= <stephane.delpino44@gmail.com>
Date: Tue, 9 Mar 2021 19:23:13 +0100
Subject: [PATCH] Remove useless group and part attributes

---
 src/output/VTKWriter.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/output/VTKWriter.cpp b/src/output/VTKWriter.cpp
index 48f81dd37..1c5ec9d38 100644
--- a/src/output/VTKWriter.cpp
+++ b/src/output/VTKWriter.cpp
@@ -523,10 +523,9 @@ VTKWriter::_write(const std::shared_ptr<const MeshType>& mesh,
       sout << m_base_filename;
       sout << '.' << std::setfill('0') << std::setw(4) << i_time << ".pvtu";
 
-      fout << "<DataSet timestep=\"" << m_saved_times[i_time] << "\" "
-           << "file=\"" << sout.str() << "\"/>\n";
+      fout << "<DataSet timestep=\"" << m_saved_times[i_time] << "\" file=\"" << sout.str() << "\"/>\n";
     }
-    fout << "<DataSet timestep=\"" << time << "\" group=\"\" part=\"0\" file=\"" << _getFilenamePVTU() << "\"/>\n";
+    fout << "<DataSet timestep=\"" << time << "\" file=\"" << _getFilenamePVTU() << "\"/>\n";
 
     fout << "</Collection>\n";
     fout << "</VTKFile>\n";
-- 
GitLab