From 57bf1ba94412530ba055dccc4c28286e536d6342 Mon Sep 17 00:00:00 2001 From: Scott MacLachlan Date: Tue, 9 May 2023 08:35:23 -0230 Subject: [PATCH] Tweak distance parameters for non-nested case --- firedrake/mg/kernels.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/firedrake/mg/kernels.py b/firedrake/mg/kernels.py index b244f8119c..ed4e4cdffb 100644 --- a/firedrake/mg/kernels.py +++ b/firedrake/mg/kernels.py @@ -258,7 +258,7 @@ def prolong_kernel(expression): if (cell == -1) { /* We didn't find a cell that contained this point exactly. Did we find one that was close enough? */ - if (bestdist < 10) { + if (bestdist < 100) { cell = bestcell; } else { fprintf(stderr, "Could not identify cell in transfer operator. Point: "); @@ -350,7 +350,7 @@ def restrict_kernel(Vf, Vc): if (cell == -1) { /* We didn't find a cell that contained this point exactly. Did we find one that was close enough? */ - if (bestdist < 10) { + if (bestdist < 100) { cell = bestcell; } else { fprintf(stderr, "Could not identify cell in transfer operator. Point: "); @@ -440,7 +440,7 @@ def inject_kernel(Vf, Vc): if (cell == -1) { /* We didn't find a cell that contained this point exactly. Did we find one that was close enough? */ - if (bestdist < 10) { + if (bestdist < 100) { cell = bestcell; } else { fprintf(stderr, "Could not identify cell in transfer operator. Point: ");