From 24e0b69a3ef3f291e0cf58ea5f91e597169667ea Mon Sep 17 00:00:00 2001 From: acrovato <a.crovato@uliege.be> Date: Mon, 14 Jun 2021 18:45:35 +0200 Subject: [PATCH] Increase tolerances. Format --- flow/src/wWakeResidual.cpp | 2 +- flow/tests/meshDef3.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flow/src/wWakeResidual.cpp b/flow/src/wWakeResidual.cpp index 376db08f..934b69a2 100644 --- a/flow/src/wWakeResidual.cpp +++ b/flow/src/wWakeResidual.cpp @@ -132,7 +132,7 @@ std::tuple<Eigen::MatrixXd, Eigen::MatrixXd> WakeResidual::buildGradientFlow(Wak // Build Eigen::MatrixXd Au, Al; std::tie(Au, Al) = WakeResidual::buildFixed(we, phi, vi); - return std::make_tuple(2* Au, 2* Al); + return std::make_tuple(2 * Au, 2 * Al); } /** diff --git a/flow/tests/meshDef3.py b/flow/tests/meshDef3.py index ab3fd22a..b1e41191 100644 --- a/flow/tests/meshDef3.py +++ b/flow/tests/meshDef3.py @@ -124,7 +124,7 @@ def main(): tests.add(CTest('iteration count', solver.nIt, 3, 1, forceabs=True)) tests.add(CTest('CL', solver.Cl, 0.135, 5e-1)) tests.add(CTest('CD', solver.Cd, 0.0062, 1e-2)) # Tranair (NF=0.0062, FF=0.0030), Panair 0.0035 - tests.add(CTest('CS', solver.Cs, -0.011, 1e-2)) + tests.add(CTest('CS', solver.Cs, -0.011, 5e-2)) tests.add(CTest('CM', solver.Cm, 0.0061, 1e-2)) tests.run() -- GitLab