]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Mark a place that's obviously wrong with a abort to trace which tests
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 16 Apr 2013 15:01:20 +0000 (15:01 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 16 Apr 2013 15:01:20 +0000 (15:01 +0000)
actually run into this. This will be removed again as part of the fix.

git-svn-id: https://svn.dealii.org/trunk@29304 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/dofs/dof_accessor.templates.h

index 3f3ffedcbe4f5ee03c7a9189c8e2f48b90fc0e69..6fc2759338d6384fb4cfca9d9ad41ad36cd0290a 100644 (file)
@@ -1,7 +1,7 @@
 //---------------------------------------------------------------------------
 //    $Id$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -2591,6 +2591,14 @@ namespace internal
           for (unsigned int d=0; d<dofs_per_vertex; ++d, ++index)
             accessor.set_vertex_dof_index(vertex,d,
                                           local_dof_indices[index]);
+
+       // the call to dof_index coming next can't be right. it
+       // should be set_dof_index!? abort here to see if we ever
+       // run through this code and which tests are going to fail
+       // as a debugging aid. i'll remove this check again
+       // as part of the fix
+       Assert (false, ExcNotImplemented());
+
         for (unsigned int d=0; d<dofs_per_line; ++d, ++index)
           accessor.dof_index(d, local_dof_indices[index]);
 

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.