From: kanschat Date: Mon, 26 Sep 2011 15:43:31 +0000 (+0000) Subject: declare function for cell patches X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc3fbfbf1cc6a71a545204f2f571776f3b5ccd70;p=dealii-svn.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