From e98aabc416ddf86517065dc66e96f10536a84a45 Mon Sep 17 00:00:00 2001 From: Jean-Paul Pelteret Date: Fri, 6 Aug 2021 20:01:29 +0200 Subject: [PATCH] Update a test --- tests/simplex/step-74.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/simplex/step-74.cc b/tests/simplex/step-74.cc index 815c18aa38..f693324d9e 100644 --- a/tests/simplex/step-74.cc +++ b/tests/simplex/step-74.cc @@ -395,6 +395,9 @@ namespace Step74 auto & copy_data) { const FEFaceValuesBase &fe_fv = scratch_data.reinit(cell, face_no); + Assert(fe_fv.get_cell() == cell, ExcInternalError()); + Assert(fe_fv.get_face_number() == face_no, ExcInternalError()); + const auto & q_points = scratch_data.get_quadrature_points(); const unsigned int n_q_points = q_points.size(); const unsigned int dofs_per_cell = fe_fv.dofs_per_cell; @@ -458,6 +461,11 @@ namespace Step74 const FEInterfaceValues &fe_iv = scratch_data.reinit(cell, f, sf, ncell, nf, nsf); + Assert(fe_iv.get_cell(0) == cell, ExcInternalError()); + Assert(fe_iv.get_face_number(0) == f, ExcInternalError()); + Assert(fe_iv.get_cell(1) == ncell, ExcInternalError()); + Assert(fe_iv.get_face_number(1) == nf, ExcInternalError()); + copy_data.face_data.emplace_back(); CopyDataFace & copy_data_face = copy_data.face_data.back(); const unsigned int n_dofs_face = fe_iv.n_current_interface_dofs(); -- 2.39.5