From 3d75b24ec41de1391551048a4bb30686adb215ea Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 21 Jan 2003 16:41:20 +0000 Subject: [PATCH] Don't use get_face. Previous use may have been honorable, but that function is now gone and we can either add another parameter to the functions that use this, or leave out the check. Since the functions that use this are called in only one place, it seems acceptable to remove the check, although this is arguably not the best way... git-svn-id: https://svn.dealii.org/trunk@6936 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-12/step-12.cc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/deal.II/examples/step-12/step-12.cc b/deal.II/examples/step-12/step-12.cc index 85fd3cc06d..f6e8c1916a 100644 --- a/deal.II/examples/step-12/step-12.cc +++ b/deal.II/examples/step-12/step-12.cc @@ -326,11 +326,6 @@ void DGTransportEquation::assemble_boundary_term( FullMatrix &u_v_matrix, Vector &cell_vector) const { - // First we check whether the - // current face is really at the - // boundary. - Assert(fe_v.get_face()->at_boundary(), ExcInternalError()); - // Again, as in the previous // function, we ask the ``FEValues'' // object for the shape values and @@ -416,11 +411,6 @@ void DGTransportEquation::assemble_face_term1( FullMatrix &u_v_matrix, FullMatrix &un_v_matrix) const { - // First we check that the current - // face is not at the boundary by - // accident. - Assert(!fe_v.get_face()->at_boundary(), ExcInternalError()); - // Again, as in the previous // function, we ask the FEValues // objects for the shape values, -- 2.39.5