From e01866db81ec835d8752d072bbfaa8e53762dd92 Mon Sep 17 00:00:00 2001 From: Niklas Fehn Date: Fri, 5 Jun 2020 10:02:24 +0200 Subject: [PATCH] allow ghost cells --- source/grid/grid_tools_dof_handlers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/grid/grid_tools_dof_handlers.cc b/source/grid/grid_tools_dof_handlers.cc index 5b0a44fcea..4be3c6d696 100644 --- a/source/grid/grid_tools_dof_handlers.cc +++ b/source/grid/grid_tools_dof_handlers.cc @@ -465,7 +465,7 @@ namespace GridTools endc = adjacent_cells.end(); for (; cell != endc; ++cell) { - if ((*cell)->is_locally_owned()) + if ((*cell)->is_artificial() == false) { try { -- 2.39.5