From: Wolfgang Bangerth Date: Mon, 14 Aug 2017 22:32:10 +0000 (-0600) Subject: Improve a couple of error messages that weren't quite clear. X-Git-Tag: v9.0.0-rc1~1247^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4848%2Fhead;p=dealii.git Improve a couple of error messages that weren't quite clear. --- 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!")); } } }