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