From 630464285dbad06bea25f80de47d8384d97be6a5 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Tue, 29 Jan 2019 12:29:36 +0100
Subject: [PATCH] [T] PF; Update line test.

The original reference result was reproduced.
New result for shorter time is provided.
---
 ProcessLib/PhaseField/Tests.cmake                          | 7 +++++--
 Tests/Data/PhaseField/square_line_h_400.prj                | 2 +-
 .../square_line_h_400_pcs_0_ts_2000_t_0.200000.vtu         | 3 +++
 3 files changed, 9 insertions(+), 3 deletions(-)
 create mode 100644 Tests/Data/PhaseField/square_line_h_400_pcs_0_ts_2000_t_0.200000.vtu

diff --git a/ProcessLib/PhaseField/Tests.cmake b/ProcessLib/PhaseField/Tests.cmake
index a26a4d86de4..84f525a1086 100644
--- a/ProcessLib/PhaseField/Tests.cmake
+++ b/ProcessLib/PhaseField/Tests.cmake
@@ -48,8 +48,11 @@ AddTest(
     TESTER vtkdiff
     REQUIREMENTS NOT (OGS_USE_LIS OR OGS_USE_MPI)
     DIFF_DATA
-    square_line_h_400_pcs_0_ts_400000_t_400.000000.vtu square_line_h_400_pcs_0_ts_400000_t_400.000000.vtu displacement displacement 1e-16 0
-    square_line_h_400_pcs_0_ts_400000_t_400.000000.vtu square_line_h_400_pcs_0_ts_400000_t_400.000000.vtu phasefield phasefield 1e-16 0
+    square_line_h_400_pcs_0_ts_2000_t_0.200000.vtu square_line_h_400_pcs_0_ts_2000_t_0.200000.vtu displacement displacement 1e-16 0
+    square_line_h_400_pcs_0_ts_2000_t_0.200000.vtu square_line_h_400_pcs_0_ts_2000_t_0.200000.vtu phasefield phasefield 5e-15 0
+    square_line_h_400_pcs_0_ts_2000_t_0.200000.vtu square_line_h_400_pcs_0_ts_2000_t_0.200000.vtu history_field history_field 1e-16 0
+    square_line_h_400_pcs_0_ts_2000_t_0.200000.vtu square_line_h_400_pcs_0_ts_2000_t_0.200000.vtu epsilon epsilon 1e-16 0
+    square_line_h_400_pcs_0_ts_2000_t_0.200000.vtu square_line_h_400_pcs_0_ts_2000_t_0.200000.vtu sigma sigma 1e-14 0
    )
 
 AddTest(
diff --git a/Tests/Data/PhaseField/square_line_h_400.prj b/Tests/Data/PhaseField/square_line_h_400.prj
index 2e69e272e3c..81fb60f34ee 100644
--- a/Tests/Data/PhaseField/square_line_h_400.prj
+++ b/Tests/Data/PhaseField/square_line_h_400.prj
@@ -46,7 +46,7 @@
                 <time_stepping>
                     <type>FixedTimeStepping</type>
                     <t_initial>0</t_initial>
-                    <t_end>1</t_end>
+                    <t_end>0.2</t_end>
                     <timesteps>
                         <pair>
                             <repeat>10000</repeat>
diff --git a/Tests/Data/PhaseField/square_line_h_400_pcs_0_ts_2000_t_0.200000.vtu b/Tests/Data/PhaseField/square_line_h_400_pcs_0_ts_2000_t_0.200000.vtu
new file mode 100644
index 00000000000..5db34743a08
--- /dev/null
+++ b/Tests/Data/PhaseField/square_line_h_400_pcs_0_ts_2000_t_0.200000.vtu
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:13d131845b3f101a636a1791a9e8534134b9c65110c46618987901b1a1cec988
+size 49985
-- 
GitLab