From cc3fbfbf1cc6a71a545204f2f571776f3b5ccd70 Mon Sep 17 00:00:00 2001
From: kanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Date: Mon, 26 Sep 2011 15:43:31 +0000
Subject: [PATCH] declare function for cell patches

git-svn-id: https://svn.dealii.org/trunk@24431 0785d39b-7218-0410-832d-ea1e28bc413d
---
 deal.II/include/deal.II/dofs/dof_tools.h | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/deal.II/include/deal.II/dofs/dof_tools.h b/deal.II/include/deal.II/dofs/dof_tools.h
index 6ec1ef45f3..ddb98626ac 100644
--- a/deal.II/include/deal.II/dofs/dof_tools.h
+++ b/deal.II/include/deal.II/dofs/dof_tools.h
@@ -1437,7 +1437,25 @@ namespace DoFTools
 					  const types::subdomain_id_t subdomain);
 
 				   // @}
-
+				   /**
+				    * @name Dof indices for patches
+				    */
+				   //@{
+				   /**
+				    * Create a sparsity pattern which
+				    * in each row lists the degrees of
+				    * freedom associated to the
+				    * corresponding cell.
+				    *
+				    * Ordering follows the ordering of
+				    * the standard cell iterators.
+				    */
+  template <class DH, class Sparsity>
+  void make_cell_patches(Sparsity& block_list,
+			 const DH& dof_handler,
+			 const unsigned int level);
+  
+				   //@}
 				   /**
 				    * Extract a vector that represents the
 				    * constant modes of the DoFHandler for
-- 
2.39.5