From: Peter Munch Date: Fri, 12 Jun 2020 05:23:27 +0000 (+0200) Subject: Fix test X-Git-Tag: v9.3.0-rc1~1442^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f55a41f3f7c73b2d136de36101f846aded1491b;p=dealii.git Fix test --- diff --git a/tests/mpi/muelu_periodicity.cc b/tests/mpi/muelu_periodicity.cc index 841e10cbe2..388bc532f0 100644 --- a/tests/mpi/muelu_periodicity.cc +++ b/tests/mpi/muelu_periodicity.cc @@ -584,11 +584,16 @@ namespace Step22 const int proc, Vector & value) const { - typename DoFHandler::active_cell_iterator cell = - GridTools::find_active_cell_around_point(dof_handler, point); + try + { + typename DoFHandler::active_cell_iterator cell = + GridTools::find_active_cell_around_point(dof_handler, point); - if (cell->is_locally_owned()) - VectorTools::point_value(dof_handler, solution, point, value); + if (cell->is_locally_owned()) + VectorTools::point_value(dof_handler, solution, point, value); + } + catch (GridTools::ExcPointNotFound &p) + {} std::vector tmp(value.size()); for (unsigned int i = 0; i < value.size(); ++i)