From 851dd2c91bed494ecd75452bc730ceda43172381 Mon Sep 17 00:00:00 2001
From: Timo Heister <timo.heister@gmail.com>
Date: Fri, 10 Oct 2014 10:44:25 -0400
Subject: [PATCH] Remove Assert in CellAccessor::face()

The Assert checked that DoFs are distributed before allowing the use of
::face(), which is overly restrictive.

Also see https://groups.google.com/d/topic/dealii/G3Xp-Uv72_M/discussion
---
 include/deal.II/dofs/dof_accessor.templates.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/deal.II/dofs/dof_accessor.templates.h b/include/deal.II/dofs/dof_accessor.templates.h
index fbcd2db82f..1a3882701d 100644
--- a/include/deal.II/dofs/dof_accessor.templates.h
+++ b/include/deal.II/dofs/dof_accessor.templates.h
@@ -3245,8 +3245,6 @@ typename DoFCellAccessor<DH,level_dof_access>::face_iterator
 DoFCellAccessor<DH,level_dof_access>::face (const unsigned int i) const
 {
   Assert (i<GeometryInfo<dim>::faces_per_cell, ExcIndexRange (i, 0, GeometryInfo<dim>::faces_per_cell));
-  Assert (static_cast<unsigned int>(this->level()) < this->dof_handler->levels.size(),
-          ExcMessage ("DoFHandler not initialized"));
 
   const unsigned int dim = DH::dimension;
   return dealii::internal::DoFCellAccessor::get_face (*this, i, dealii::internal::int2type<dim>());
-- 
2.39.5