From 6a877885ceff7691d3464a5bb0204c2c3575f379 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Thu, 16 May 2019 21:56:20 +0200 Subject: [PATCH] Adjust tolerance in push_forward --- source/grid/manifold_lib.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/grid/manifold_lib.cc b/source/grid/manifold_lib.cc index c61028bc39..75138e0dbd 100644 --- a/source/grid/manifold_lib.cc +++ b/source/grid/manifold_lib.cc @@ -1942,9 +1942,9 @@ TransfiniteInterpolationManifold::push_forward( AssertDimension(cell->level(), level_coarse); // check that the point is in the unit cell which is the current chart - // Tolerance 1e-6 chosen that the method also works with - // SphericalManifold - Assert(GeometryInfo::is_inside_unit_cell(chart_point, 1e-6), + // Tolerance 5e-4 chosen that the method also works with manifolds + // that have some discretization error like SphericalManifold + Assert(GeometryInfo::is_inside_unit_cell(chart_point, 5e-4), ExcMessage("chart_point is not in unit interval")); return compute_transfinite_interpolation(*cell, -- 2.39.5