From 370574f85985d09c5fa457227997fab1f493ba2e Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <github@naumov.de>
Date: Sat, 21 Jan 2017 22:39:17 +0100
Subject: [PATCH] [T] Relax tolerances of GWF square_1e6 ctest.

Make the square 1e5 tolerances even a little tighter.
---
 ProcessLib/GroundwaterFlow/CMakeLists.txt | 37 +++++++++++++++--------
 1 file changed, 25 insertions(+), 12 deletions(-)

diff --git a/ProcessLib/GroundwaterFlow/CMakeLists.txt b/ProcessLib/GroundwaterFlow/CMakeLists.txt
index 718427e3fd8..fb16a642ffd 100644
--- a/ProcessLib/GroundwaterFlow/CMakeLists.txt
+++ b/ProcessLib/GroundwaterFlow/CMakeLists.txt
@@ -91,18 +91,6 @@ foreach(mesh_size 1e0 1e1 1e2 1e3 1e4)
 endforeach()
 
 foreach(mesh_size 1e5 1e6)
-    AddTest(
-        NAME LARGE_GroundWaterFlowProcess_square_1x1_${mesh_size}
-        PATH Elliptic/square_1x1_GroundWaterFlow
-        EXECUTABLE ogs
-        EXECUTABLE_ARGS square_${mesh_size}.prj
-        TESTER vtkdiff
-        REQUIREMENTS NOT OGS_USE_MPI
-        ABSTOL 1e-12 RELTOL 1e-16
-        DIFF_DATA
-        square_1x1_quad_${mesh_size}.vtu square_${mesh_size}_pcs_0_ts_1_t_1.000000.vtu Linear_1_to_minus1 pressure
-    )
-
     AddTest(
         NAME LARGE_GroundWaterFlowProcess_square_1x1_Neumann_${mesh_size}
         PATH Elliptic/square_1x1_GroundWaterFlow
@@ -116,6 +104,31 @@ foreach(mesh_size 1e5 1e6)
     )
 endforeach()
 
+AddTest(
+    NAME LARGE_GroundWaterFlowProcess_square_1x1_1e5
+    PATH Elliptic/square_1x1_GroundWaterFlow
+    EXECUTABLE ogs
+    EXECUTABLE_ARGS square_1e5.prj
+    TESTER vtkdiff
+    REQUIREMENTS NOT OGS_USE_MPI
+    ABSTOL 1e-13 RELTOL 1e-16
+    DIFF_DATA
+    square_1x1_quad_1e5.vtu square_1e5_pcs_0_ts_1_t_1.000000.vtu Linear_1_to_minus1 pressure
+)
+
+# The largest test is less accurate
+AddTest(
+    NAME LARGE_GroundWaterFlowProcess_square_1x1_1e6
+    PATH Elliptic/square_1x1_GroundWaterFlow
+    EXECUTABLE ogs
+    EXECUTABLE_ARGS square_1e6.prj
+    TESTER vtkdiff
+    REQUIREMENTS NOT OGS_USE_MPI
+    ABSTOL 3e-12 RELTOL 1e-16
+    DIFF_DATA
+    square_1x1_quad_1e6.vtu square_1e6_pcs_0_ts_1_t_1.000000.vtu Linear_1_to_minus1 pressure
+)
+
 # LINE 1 GROUNDWATER FLOW TESTS
 foreach(mesh_size 1e1)
     AddTest(
-- 
GitLab