From d90326e78432433b03c3c866b3cb999c4318f181 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Wed, 2 Feb 2011 16:07:13 +0000 Subject: [PATCH] try to make convergence rate averaging a bit more robust [[Imported from SVN: r6922]] --- dirneucoupling.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dirneucoupling.cc b/dirneucoupling.cc index 43bffc2d..e94e1fc4 100644 --- a/dirneucoupling.cc +++ b/dirneucoupling.cc @@ -663,7 +663,7 @@ int main (int argc, char *argv[]) try // Only when we hit numerical dirt are they starting to wiggle around wildly. // We use this to detect 'the' convergence rate as the last averaged rate before // we hit the dirt. - if (convRate > oldConvRate + 0.1 && i > 5 && firstTime) { + if (convRate > oldConvRate + 0.15 && i > 5 && firstTime) { std::cout << "Damping: " << damping << " convRate: " << std::pow(totalConvRate[i], 1/((double)i)) -- GitLab