From 51f4127c0a77d2b96062527dcad456a7b325237f Mon Sep 17 00:00:00 2001
From: melaniel <melanie.lipp@iws.uni-stuttgart.de>
Date: Tue, 19 Feb 2019 17:10:48 +0100
Subject: [PATCH] [test][sincos] Change convergence criterion to also consider
 the absolute residual.

---
 test/freeflow/navierstokes/sincos/steady/params.input   | 3 +++
 test/freeflow/navierstokes/sincos/unsteady/params.input | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/test/freeflow/navierstokes/sincos/steady/params.input b/test/freeflow/navierstokes/sincos/steady/params.input
index d822598cd6..b42de15071 100644
--- a/test/freeflow/navierstokes/sincos/steady/params.input
+++ b/test/freeflow/navierstokes/sincos/steady/params.input
@@ -15,6 +15,9 @@ LiquidKinematicViscosity = 0.001
 [Newton]
 MaxSteps = 10
 MaxRelativeShift = 1e-5
+SatisfyResidualAndShiftCriterion = true
+EnableAbsoluteResidualCriterion = true
+MaxAbsoluteResidual = 1e-10
 
 [Vtk]
 WriteFaceData = false
diff --git a/test/freeflow/navierstokes/sincos/unsteady/params.input b/test/freeflow/navierstokes/sincos/unsteady/params.input
index f074489dc8..0c68c520fd 100644
--- a/test/freeflow/navierstokes/sincos/unsteady/params.input
+++ b/test/freeflow/navierstokes/sincos/unsteady/params.input
@@ -24,6 +24,9 @@ NumericDifference.BaseEpsilon = 1e-8
 MaxSteps = 10
 TargetSteps = 4
 MaxRelativeShift = 1e-5
+SatisfyResidualAndShiftCriterion = true
+EnableAbsoluteResidualCriterion = true
+MaxAbsoluteResidual = 1e-10
 
 [Vtk]
 WriteFaceData = false
-- 
GitLab