From 801b1fef77c0913a46b2203c80c6587c2353673b Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Sun, 17 Apr 2016 11:28:00 +0200 Subject: [PATCH] make test_pengrobinson faster again, we just use less samples... --- tests/test_pengrobinson.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_pengrobinson.cpp b/tests/test_pengrobinson.cpp index c228730eb..6775d4513 100644 --- a/tests/test_pengrobinson.cpp +++ b/tests/test_pengrobinson.cpp @@ -414,7 +414,7 @@ inline void testAll() Scalar maxAlpha = surfaceAlpha; std::cout << "alpha[-] p[Pa] S_g[-] rho_o[kg/m^3] rho_g[kg/m^3] [kg/mol] [kg/mol] R_s[m^3/m^3] B_g[-] B_o[-]\n"; - int n = 3000; + int n = 300; for (int i = 0; i < n; ++i) { // ratio between the original and the current volume Scalar alpha = minAlpha + (maxAlpha - minAlpha)*i/(n - 1);