From ffaf01ddc6539af3c1415cc6ebb75da3dd5bb6a7 Mon Sep 17 00:00:00 2001 From: Magdalena Schreter Date: Fri, 5 Mar 2021 19:32:19 +0100 Subject: [PATCH] improve assert in FEFaceEvaluation --- include/deal.II/matrix_free/fe_evaluation.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/deal.II/matrix_free/fe_evaluation.h b/include/deal.II/matrix_free/fe_evaluation.h index 45de596e71..0dd7d3d894 100644 --- a/include/deal.II/matrix_free/fe_evaluation.h +++ b/include/deal.II/matrix_free/fe_evaluation.h @@ -8493,7 +8493,10 @@ FEFaceEvaluationmatrix_info->get_task_info().boundary_partition_data.back()) Assert(this->is_interior_face, - ExcMessage("Boundary faces do not have a neighbor")); + ExcMessage( + "Boundary faces do not have a neighbor. When looping over " + "boundary faces use FEFaceEvaluation with the parameter " + "is_interior_face set to true. ")); this->face_no = (this->is_interior_face ? faces.interior_face_no : faces.exterior_face_no); -- 2.39.5