Skip to content

Commit

Permalink
Tweak distance parameters for non-nested case
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottMacLachlan committed May 9, 2023
1 parent 371675c commit 57bf1ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions firedrake/mg/kernels.py
Original file line number Diff line number Diff line change
Expand Up @@ -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: ");
Expand Down Expand Up @@ -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: ");
Expand Down Expand Up @@ -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: ");
Expand Down

0 comments on commit 57bf1ba

Please sign in to comment.