From 85190c57c0a67ddca231351a55aff6b81720ce06 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Tue, 12 Dec 2023 13:02:33 +0100
Subject: [PATCH] [T/TH2M] Slightly relax ctests' tolerances

---
 ProcessLib/TH2M/Tests.cmake                                   | 4 ++--
 Tests/Data/TH2M/H2M/OrthotropicSwelling/square.prj            | 2 +-
 .../HM/Confined_Compression/HM_confined_compression_gas.prj   | 4 ++--
 .../Confined_Compression/HM_confined_compression_liquid.prj   | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/ProcessLib/TH2M/Tests.cmake b/ProcessLib/TH2M/Tests.cmake
index 7bdad7511d9..1090cadddaf 100644
--- a/ProcessLib/TH2M/Tests.cmake
+++ b/ProcessLib/TH2M/Tests.cmake
@@ -140,7 +140,7 @@ AddTest(
 
     result_TH2M_M_ts_2_t_2.000000.vtu result_TH2M_M_ts_2_t_2.000000.vtu velocity_liquid velocity_liquid 1e-8 1e-8
 
-    result_TH2M_M_ts_2_t_2.000000.vtu result_TH2M_M_ts_2_t_2.000000.vtu sigma sigma 6.8e-7 1e-8
+    result_TH2M_M_ts_2_t_2.000000.vtu result_TH2M_M_ts_2_t_2.000000.vtu sigma sigma 6.9e-7 1e-8
 
     result_TH2M_M_ts_2_t_2.000000.vtu result_TH2M_M_ts_2_t_2.000000.vtu epsilon epsilon 1e-8 1e-8
 
@@ -269,7 +269,7 @@ AddTest(
 
     result_1d_dirichlet_slab_ts_5_t_100000.000000.vtu result_1d_dirichlet_slab_ts_5_t_100000.000000.vtu velocity_liquid velocity_liquid 1e-8 1e-8
 
-    result_1d_dirichlet_slab_ts_5_t_100000.000000.vtu result_1d_dirichlet_slab_ts_5_t_100000.000000.vtu sigma sigma 3.1e-6 1e-8
+    result_1d_dirichlet_slab_ts_5_t_100000.000000.vtu result_1d_dirichlet_slab_ts_5_t_100000.000000.vtu sigma sigma 3.3e-6 1e-8
 
     result_1d_dirichlet_slab_ts_5_t_100000.000000.vtu result_1d_dirichlet_slab_ts_5_t_100000.000000.vtu epsilon epsilon 1e-8 1e-8
 
diff --git a/Tests/Data/TH2M/H2M/OrthotropicSwelling/square.prj b/Tests/Data/TH2M/H2M/OrthotropicSwelling/square.prj
index 871afb280bd..83b487a961f 100644
--- a/Tests/Data/TH2M/H2M/OrthotropicSwelling/square.prj
+++ b/Tests/Data/TH2M/H2M/OrthotropicSwelling/square.prj
@@ -488,7 +488,7 @@
         <vtkdiff>
             <regex>square_ts_.*.vtu</regex>
             <field>epsilon</field>
-            <absolute_tolerance>1e-15</absolute_tolerance>
+            <absolute_tolerance>2e-15</absolute_tolerance>
             <relative_tolerance>0</relative_tolerance>
         </vtkdiff>
         <vtkdiff>
diff --git a/Tests/Data/TH2M/HM/Confined_Compression/HM_confined_compression_gas.prj b/Tests/Data/TH2M/HM/Confined_Compression/HM_confined_compression_gas.prj
index 89a26eb1d50..8c95035d44a 100644
--- a/Tests/Data/TH2M/HM/Confined_Compression/HM_confined_compression_gas.prj
+++ b/Tests/Data/TH2M/HM/Confined_Compression/HM_confined_compression_gas.prj
@@ -479,13 +479,13 @@
         <vtkdiff>
             <regex>HM_confined_compression_gas_ts_.*.vtu</regex>
             <field>sigma</field>
-            <absolute_tolerance>1e-15</absolute_tolerance>
+            <absolute_tolerance>7e-14</absolute_tolerance>
             <relative_tolerance>1e-15</relative_tolerance>
         </vtkdiff>
         <vtkdiff>
             <regex>HM_confined_compression_gas_ts_.*.vtu</regex>
             <field>epsilon</field>
-            <absolute_tolerance>1e-15</absolute_tolerance>
+            <absolute_tolerance>5e-15</absolute_tolerance>
             <relative_tolerance>1e-15</relative_tolerance>
         </vtkdiff>
         <vtkdiff>
diff --git a/Tests/Data/TH2M/HM/Confined_Compression/HM_confined_compression_liquid.prj b/Tests/Data/TH2M/HM/Confined_Compression/HM_confined_compression_liquid.prj
index a49b3214827..698a2dfdd75 100644
--- a/Tests/Data/TH2M/HM/Confined_Compression/HM_confined_compression_liquid.prj
+++ b/Tests/Data/TH2M/HM/Confined_Compression/HM_confined_compression_liquid.prj
@@ -486,13 +486,13 @@
         <vtkdiff>
             <regex>HM_confined_compression_liquid_ts_.*.vtu</regex>
             <field>sigma</field>
-            <absolute_tolerance>1e-15</absolute_tolerance>
+            <absolute_tolerance>7e-14</absolute_tolerance>
             <relative_tolerance>1e-15</relative_tolerance>
         </vtkdiff>
         <vtkdiff>
             <regex>HM_confined_compression_liquid_ts_.*.vtu</regex>
             <field>epsilon</field>
-            <absolute_tolerance>1e-15</absolute_tolerance>
+            <absolute_tolerance>5e-15</absolute_tolerance>
             <relative_tolerance>1e-15</relative_tolerance>
         </vtkdiff>
         <vtkdiff>
-- 
GitLab