From 7ced8db3072362dcf3695f1aabccb2fcdbc9677f Mon Sep 17 00:00:00 2001 From: leicht Date: Thu, 11 Oct 2007 14:49:58 +0000 Subject: [PATCH] Remove two occurances of an Assert which is not valid on general 3D meshes. The 'correct' form of the Assert is used in the neighbor_child_on_subface function anyway, so there is no need to repeat a clumsy test here. git-svn-id: https://svn.dealii.org/trunk@15289 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-12/step-12.cc | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/deal.II/examples/step-12/step-12.cc b/deal.II/examples/step-12/step-12.cc index 6779b9555a..b0fb0ed238 100644 --- a/deal.II/examples/step-12/step-12.cc +++ b/deal.II/examples/step-12/step-12.cc @@ -970,21 +970,6 @@ void DGMethod::assemble_system1 () neighbor_child = cell->neighbor_child_on_subface (face_no, subface_no); - // As these are - // quite - // complicated - // indirections - // which one - // does not - // usually get - // right at - // first - // attempt we - // check for - // the internal - // consistency. - Assert (neighbor_child->face(neighbor2) == face->child(subface_no), - ExcInternalError()); Assert (!neighbor_child->has_children(), ExcInternalError()); // We need to @@ -1320,8 +1305,6 @@ void DGMethod::assemble_system2 () { typename DoFHandler::cell_iterator neighbor_child = cell->neighbor_child_on_subface (face_no, subface_no); - Assert (neighbor_child->face(neighbor2) == face->child(subface_no), - ExcInternalError()); Assert (!neighbor_child->has_children(), ExcInternalError()); ue_vi_matrix = 0; -- 2.39.5