From e655662dcac7576ea4fd0543401c6e444aaf70fe Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Wed, 5 Dec 2018 08:43:26 +0100
Subject: [PATCH] [T] Test multiple mesh parsing for output.

---
 ProcessLib/ComponentTransport/Tests.cmake                 | 8 ++++++++
 .../cube_1x1x1_hex_1e3_left_pcs_0_ts_0_t_0.000000.vtu     | 3 +++
 .../cube_1x1x1_hex_1e3_left_pcs_0_ts_1_t_1.000000.vtu     | 3 +++
 .../cube_1x1x1_hex_1e3_right_pcs_0_ts_0_t_0.000000.vtu    | 3 +++
 .../cube_1x1x1_hex_1e3_right_pcs_0_ts_1_t_1.000000.vtu    | 3 +++
 .../surfaceflux_component-transport_cube_1e3.prj          | 5 +++++
 6 files changed, 25 insertions(+)
 create mode 100644 Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/cube_1x1x1_hex_1e3_left_pcs_0_ts_0_t_0.000000.vtu
 create mode 100644 Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/cube_1x1x1_hex_1e3_left_pcs_0_ts_1_t_1.000000.vtu
 create mode 100644 Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/cube_1x1x1_hex_1e3_right_pcs_0_ts_0_t_0.000000.vtu
 create mode 100644 Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/cube_1x1x1_hex_1e3_right_pcs_0_ts_1_t_1.000000.vtu

diff --git a/ProcessLib/ComponentTransport/Tests.cmake b/ProcessLib/ComponentTransport/Tests.cmake
index 564882f4a52..b6836a5dbd8 100644
--- a/ProcessLib/ComponentTransport/Tests.cmake
+++ b/ProcessLib/ComponentTransport/Tests.cmake
@@ -203,6 +203,14 @@ AddTest(
     REQUIREMENTS NOT OGS_USE_MPI
     DIFF_DATA
     cube_1x1x1_hex_1e3_complete_surface.vtu flux_1e3_t_1.000000.vtu flux flux 1e-10 1e-16
+    cube_1x1x1_hex_1e3_left_pcs_0_ts_0_t_0.000000.vtu cube_1x1x1_hex_1e3_left_pcs_0_ts_0_t_0.000000.vtu concentration concentration 1e-10 1e-16
+    cube_1x1x1_hex_1e3_left_pcs_0_ts_1_t_1.000000.vtu cube_1x1x1_hex_1e3_left_pcs_0_ts_1_t_1.000000.vtu concentration concentration 1e-10 1e-16
+    cube_1x1x1_hex_1e3_left_pcs_0_ts_0_t_0.000000.vtu cube_1x1x1_hex_1e3_left_pcs_0_ts_0_t_0.000000.vtu pressure pressure 1e-10 1e-16
+    cube_1x1x1_hex_1e3_left_pcs_0_ts_1_t_1.000000.vtu cube_1x1x1_hex_1e3_left_pcs_0_ts_1_t_1.000000.vtu pressure pressure 1e-10 1e-16
+    cube_1x1x1_hex_1e3_right_pcs_0_ts_0_t_0.000000.vtu cube_1x1x1_hex_1e3_right_pcs_0_ts_0_t_0.000000.vtu concentration concentration 1e-10 1e-16
+    cube_1x1x1_hex_1e3_right_pcs_0_ts_1_t_1.000000.vtu cube_1x1x1_hex_1e3_right_pcs_0_ts_1_t_1.000000.vtu concentration concentration 1e-10 1e-16
+    cube_1x1x1_hex_1e3_right_pcs_0_ts_0_t_0.000000.vtu cube_1x1x1_hex_1e3_right_pcs_0_ts_0_t_0.000000.vtu pressure pressure 1e-10 1e-16
+    cube_1x1x1_hex_1e3_right_pcs_0_ts_1_t_1.000000.vtu cube_1x1x1_hex_1e3_right_pcs_0_ts_1_t_1.000000.vtu pressure pressure 1e-10 1e-16
 )
 
 AddTest(
diff --git a/Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/cube_1x1x1_hex_1e3_left_pcs_0_ts_0_t_0.000000.vtu b/Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/cube_1x1x1_hex_1e3_left_pcs_0_ts_0_t_0.000000.vtu
new file mode 100644
index 00000000000..ae9b0995e14
--- /dev/null
+++ b/Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/cube_1x1x1_hex_1e3_left_pcs_0_ts_0_t_0.000000.vtu
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a12bca8228fe652b5582f4e770d77df7ddd17000c6c615fa8400c8a336662eba
+size 4138
diff --git a/Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/cube_1x1x1_hex_1e3_left_pcs_0_ts_1_t_1.000000.vtu b/Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/cube_1x1x1_hex_1e3_left_pcs_0_ts_1_t_1.000000.vtu
new file mode 100644
index 00000000000..42b464be785
--- /dev/null
+++ b/Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/cube_1x1x1_hex_1e3_left_pcs_0_ts_1_t_1.000000.vtu
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9ded65731f43b5227d6fb37f4a17a884f24efb776cc27865b047663ba2c9fd87
+size 4154
diff --git a/Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/cube_1x1x1_hex_1e3_right_pcs_0_ts_0_t_0.000000.vtu b/Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/cube_1x1x1_hex_1e3_right_pcs_0_ts_0_t_0.000000.vtu
new file mode 100644
index 00000000000..eee2265b4f5
--- /dev/null
+++ b/Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/cube_1x1x1_hex_1e3_right_pcs_0_ts_0_t_0.000000.vtu
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:71f5caf8706a764d6a85e87bef406435c4802bc8d12c7c936ec10b00e3aed5be
+size 4087
diff --git a/Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/cube_1x1x1_hex_1e3_right_pcs_0_ts_1_t_1.000000.vtu b/Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/cube_1x1x1_hex_1e3_right_pcs_0_ts_1_t_1.000000.vtu
new file mode 100644
index 00000000000..eee2265b4f5
--- /dev/null
+++ b/Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/cube_1x1x1_hex_1e3_right_pcs_0_ts_1_t_1.000000.vtu
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:71f5caf8706a764d6a85e87bef406435c4802bc8d12c7c936ec10b00e3aed5be
+size 4087
diff --git a/Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/surfaceflux_component-transport_cube_1e3.prj b/Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/surfaceflux_component-transport_cube_1e3.prj
index a1a850e5826..505b3b96bc6 100644
--- a/Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/surfaceflux_component-transport_cube_1e3.prj
+++ b/Tests/Data/Parabolic/ComponentTransport/SimpleSynthetics/surfaceflux_component-transport_cube_1e3.prj
@@ -94,6 +94,11 @@
                     <each_steps>1</each_steps>
                 </pair>
             </timesteps>
+            <meshes>
+                <mesh>cube_1x1x1_hex_1e3</mesh>
+                <mesh>cube_1x1x1_hex_1e3_left</mesh>
+                <mesh>cube_1x1x1_hex_1e3_right</mesh>
+            </meshes>
             <variables>
                 <variable>concentration</variable>
                 <variable>pressure</variable>
-- 
GitLab