From e69c100b17d0e5cd59d3d4cb7efe3fa1302754c7 Mon Sep 17 00:00:00 2001 From: Kjetil Andre Johannessen Date: Thu, 30 Nov 2017 12:00:03 +0100 Subject: [PATCH] Fixed: Spread refinement more to avoid nasty cases --- src/SIM/SIMinput.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SIM/SIMinput.C b/src/SIM/SIMinput.C index 16147bbd..9f8cff94 100644 --- a/src/SIM/SIMinput.C +++ b/src/SIM/SIMinput.C @@ -1207,7 +1207,7 @@ bool SIMinput::refine (const LR::RefineData& prm, for (int edgeNode : bndry1[edge1d]) if (edgeNode-1 == j) { - IntVec secondary = lr->getOverlappingNodes(j, edge1d/2+1); + IntVec secondary = lr->getOverlappingNodes(j); refineIndices[i].insert(secondary.begin(),secondary.end()); done_with_this_node = true; break;