From: Martin Kronbichler Date: Thu, 16 May 2019 19:56:20 +0000 (+0200) Subject: Adjust tolerance in push_forward X-Git-Tag: v9.1.0-rc2~1^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a877885ceff7691d3464a5bb0204c2c3575f379;p=dealii.git Adjust tolerance in push_forward --- 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,