From 535f6d650bbad176d213fa7d221eaf4ee86f0380 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sun, 23 Jan 2022 16:36:08 -0500 Subject: [PATCH] VTU: put xml closing element on separate line We try to output VTU XML data in somewhat pretty way like [BASE64 data] but we were missing a newline after writing scalar base64 data. Fix this. --- source/base/data_out_base.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index 92490893f7..05622a848f 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -6189,6 +6189,7 @@ namespace DataOutBase } // loop over nodes vtu_out << data; + out << "\n"; out << " \n"; } // loop over ranges @@ -6211,6 +6212,7 @@ namespace DataOutBase std::vector data(data_vectors[data_set].begin(), data_vectors[data_set].end()); vtu_out << data; + out << "\n"; out << " \n"; } -- 2.39.5