From 55effcbce82e7691088aa7ad810b6ebb9bdf8eb6 Mon Sep 17 00:00:00 2001
From: Martin Kronbichler <martin.kronbichler@uni-a.de>
Date: Mon, 26 Jun 2023 10:26:03 +0200
Subject: [PATCH] Add two output variants for tests writing p4est vtk output

---
 ....with_p4est_with_vtk_binary=false.output.2 | 33 +++++++++++++++++++
 ....with_p4est_with_vtk_binary=false.output.2 | 33 +++++++++++++++++++
 2 files changed, 66 insertions(+)
 create mode 100644 tests/distributed_grids/3d_coarse_grid_03.with_p4est_with_vtk_binary=false.output.2
 create mode 100644 tests/distributed_grids/3d_coarse_grid_04.with_p4est_with_vtk_binary=false.output.2

diff --git a/tests/distributed_grids/3d_coarse_grid_03.with_p4est_with_vtk_binary=false.output.2 b/tests/distributed_grids/3d_coarse_grid_03.with_p4est_with_vtk_binary=false.output.2
new file mode 100644
index 0000000000..6d5b8bafa3
--- /dev/null
+++ b/tests/distributed_grids/3d_coarse_grid_03.with_p4est_with_vtk_binary=false.output.2
@@ -0,0 +1,33 @@
+
+DEAL:3d::Checksum: 1585446913
+<?xml version="1.0"?>
+<VTKFile type="PUnstructuredGrid" version="0.1" byte_order="LittleEndian">
+  <PUnstructuredGrid GhostLevel="0">
+    <PPoints>
+      <PDataArray type="Float32" Name="Position" NumberOfComponents="3" format="ascii"/>
+    </PPoints>
+      <PDataArray type="Int32" Name="treeid" format="ascii"/>
+    </PCellData>
+    <Piece Source="1_0000.vtu"/>
+  </PUnstructuredGrid>
+</VTKFile>
+
+<?xml version="1.0"?>
+<VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian">
+  <UnstructuredGrid>
+    <Piece NumberOfPoints="12096" NumberOfCells="1512">
+      <Points>
+        <DataArray type="Float32" Name="Position" NumberOfComponents="3" format="ascii">
+            5.85416377e-01   2.52083331e-01   8.35416377e-01
+            5.85416377e-01   2.52083331e-01   9.14583623e-01
+            6.64583623e-01   2.52083331e-01   8.35416377e-01
+            6.64583623e-01   2.52083331e-01   9.14583623e-01
+            5.85416377e-01   3.31249684e-01   8.35416377e-01
+            5.85416377e-01   3.31249684e-01   9.14583623e-01
+            6.64583623e-01   3.31249684e-01   8.35416377e-01
+            6.64583623e-01   3.31249684e-01   9.14583623e-01
+            5.85416377e-01   1.68750331e-01   8.35416377e-01
+            5.85416377e-01   1.68750331e-01   9.14583623e-01
+            6.64583623e-01   1.68750331e-01   8.35416377e-01
+            6.64583623e-01   1.68750331e-01   9.14583623e-01
+            5.85416377e-01   2.47916669e-01   8.35416377e-01
diff --git a/tests/distributed_grids/3d_coarse_grid_04.with_p4est_with_vtk_binary=false.output.2 b/tests/distributed_grids/3d_coarse_grid_04.with_p4est_with_vtk_binary=false.output.2
new file mode 100644
index 0000000000..56a204617b
--- /dev/null
+++ b/tests/distributed_grids/3d_coarse_grid_04.with_p4est_with_vtk_binary=false.output.2
@@ -0,0 +1,33 @@
+
+DEAL:3d::Checksum: 2097153
+<?xml version="1.0"?>
+<VTKFile type="PUnstructuredGrid" version="0.1" byte_order="LittleEndian">
+  <PUnstructuredGrid GhostLevel="0">
+    <PPoints>
+      <PDataArray type="Float32" Name="Position" NumberOfComponents="3" format="ascii"/>
+    </PPoints>
+      <PDataArray type="Int32" Name="treeid" format="ascii"/>
+    </PCellData>
+    <Piece Source="1_0000.vtu"/>
+  </PUnstructuredGrid>
+</VTKFile>
+
+<?xml version="1.0"?>
+<VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian">
+  <UnstructuredGrid>
+    <Piece NumberOfPoints="16" NumberOfCells="2">
+      <Points>
+        <DataArray type="Float32" Name="Position" NumberOfComponents="3" format="ascii">
+            2.50000004e-02   2.50000004e-02   2.50000004e-02
+            2.50000004e-02   9.75000024e-01   2.50000004e-02
+            2.50000004e-02   2.50000004e-02   9.75000024e-01
+            2.50000004e-02   9.75000024e-01   9.75000024e-01
+            9.75000024e-01   2.50000004e-02   2.50000004e-02
+            9.75000024e-01   9.75000024e-01   2.50000004e-02
+            9.75000024e-01   2.50000004e-02   9.75000024e-01
+            9.75000024e-01   9.75000024e-01   9.75000024e-01
+           -2.50000004e-02   2.50000004e-02   2.50000004e-02
+           -9.75000024e-01   2.50000004e-02   2.50000004e-02
+           -2.50000004e-02   2.50000004e-02   9.75000024e-01
+           -9.75000024e-01   2.50000004e-02   9.75000024e-01
+           -2.50000004e-02   9.75000024e-01   2.50000004e-02
-- 
2.39.5