]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove two occurances of an Assert which is not valid on general 3D meshes. The ...
authorleicht <leicht@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 11 Oct 2007 14:49:58 +0000 (14:49 +0000)
committerleicht <leicht@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 11 Oct 2007 14:49:58 +0000 (14:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@15289 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-12/step-12.cc

index 6779b9555a0fda0f15b7c56ec410b0da9edb0018..b0fb0ed238e041c80641c163431c7c403130c672 100644 (file)
@@ -970,21 +970,6 @@ void DGMethod<dim>::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<dim>::assemble_system2 ()
                    {
                      typename DoFHandler<dim>::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;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.