]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Actually make it so that it compiles.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Oct 2012 13:18:14 +0000 (13:18 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Oct 2012 13:18:14 +0000 (13:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@27235 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 9dd7fc8122bd06847af4b676b71962343eccf3d0..61309fb52d7cd4b79d2f35d2a51131fc772868c9 100644 (file)
@@ -1478,7 +1478,7 @@ unsigned int
 DoFAccessor<dim,DH>::n_active_fe_indices () const
 {
   if (dim == DH::dimension)
-    Assert (this->active(),
+    Assert (this->has_children() == false,
            ExcMessage ("You can't query information about active FE indices on "
                        "cells that have children and are therefore not active."));
 
@@ -1499,7 +1499,7 @@ unsigned int
 DoFAccessor<dim,DH>::nth_active_fe_index (const unsigned int n) const
 {
   if (dim == DH::dimension)
-    Assert (this->active(),
+    Assert (this->has_children() == false,
            ExcMessage ("You can't query information about active FE indices on "
                        "cells that have children and are therefore not active."));
 
@@ -1521,7 +1521,7 @@ bool
 DoFAccessor<dim,DH>::fe_index_is_active (const unsigned int fe_index) const
 {
   if (dim == DH::dimension)
-    Assert (this->active(),
+    Assert (this->has_children() == false,
            ExcMessage ("You can't query information about active FE indices on "
                        "cells that have children and are therefore not active."));
 

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.