From 073eab46f17ffce1c28c15b16c95180116b242b9 Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Sat, 26 Mar 2016 10:47:59 +0100 Subject: [PATCH] Fixed issue with periodicity. --- source/grid/manifold.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/grid/manifold.cc b/source/grid/manifold.cc index 4fc83bf99d..361057fbf9 100644 --- a/source/grid/manifold.cc +++ b/source/grid/manifold.cc @@ -423,7 +423,8 @@ get_new_point (const Quadrature &quad) const if (periodicity[d] > 0) for (unsigned int i=0; i tolerance) + minP[d] = std::min(minP[d], surrounding_points[i][d]); Assert( (surrounding_points[i][d] < periodicity[d]+tolerance*periodicity.norm()) || (surrounding_points[i][d] >= -tolerance*periodicity.norm()), ExcPeriodicBox(d, surrounding_points[i], periodicity, tolerance*periodicity.norm())); -- 2.39.5