From 5684275b7a236222a182bcd63f263f38b0c2ebe5 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 14 Aug 2017 16:32:10 -0600 Subject: [PATCH] Improve a couple of error messages that weren't quite clear. --- source/dofs/dof_handler_policy.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/dofs/dof_handler_policy.cc b/source/dofs/dof_handler_policy.cc index 5e3ac54c98..508f0c188d 100644 --- a/source/dofs/dof_handler_policy.cc +++ b/source/dofs/dof_handler_policy.cc @@ -3750,11 +3750,17 @@ namespace internal { if (cell->is_ghost()) { - Assert(false, ExcMessage ("Not a ghost cell")); + Assert(false, + ExcMessage ("A ghost cell ended up with incomplete " + "DoF index information. This should not " + "have happened!")); } else { - Assert(false, ExcMessage ("Not one of our own cells")); + Assert(false, + ExcMessage ("A locally owned cell ended up with incomplete " + "DoF index information. This should not " + "have happened!")); } } } -- 2.39.5