From: Guido Kanschat Date: Mon, 26 Sep 2011 15:43:31 +0000 (+0000) Subject: declare function for cell patches X-Git-Tag: v8.0.0~3381 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7eb325e726c3736e1e3b6133beb30a30b5f35ae;p=dealii.git declare function for cell patches git-svn-id: https://svn.dealii.org/trunk@24431 0785d39b-7218-0410-832d-ea1e28bc413d --- 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 + 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