From: Guido Kanschat Date: Tue, 2 Aug 2016 19:10:28 +0000 (+0200) Subject: change DoFHandler template X-Git-Tag: v8.5.0-rc1~812^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=657c6bf0864f45c6d518c551d687246e4998cf24;p=dealii.git change DoFHandler template --- diff --git a/doc/news/changes.h b/doc/news/changes.h index 627b9a6cd2..65a2790bb7 100644 --- a/doc/news/changes.h +++ b/doc/news/changes.h @@ -47,6 +47,10 @@ pattern classes, so no generic function would be possible. On the other hand, the block list is an object, which only extends over locally owned grid cells and its size can be determined efficiently upon initialization. Therefore, SparsityPattern is a good choice here. + +At the same time, we changed the dof handler template to the type +DoFHandler, since hp::DoFHandler requires a different setup of the +SparsityPattern.
(Guido Kanschat, 2016/08/02) diff --git a/include/deal.II/dofs/dof_tools.h b/include/deal.II/dofs/dof_tools.h index 19e71a8e01..b599fe4f35 100644 --- a/include/deal.II/dofs/dof_tools.h +++ b/include/deal.II/dofs/dof_tools.h @@ -1704,8 +1704,8 @@ namespace DoFTools * level. This pattern can be used in RelaxationBlock classes as * block list for additive and multiplicative Schwarz methods. * - * The row index in this pattern is the cell index resulting - * from standard iteration through the Triangulation. For a + * The row index in this pattern is the cell index resulting from + * standard iteration through a level of the Triangulation. For a * parallel::distributed::Triangulation, only locally owned cells * are entered. * @@ -1715,12 +1715,12 @@ namespace DoFTools * * selected_dofs is a vector indexed by the local degrees * of freedom on a cell. If it is used, only such dofs are entered - * into the block, which are selected. This allows for instance the - * exclusion of components or of dofs on the boundary. + * into the block list which are selected. This allows for instance + * the exclusion of components or of dofs on the boundary. */ - template + template void make_cell_patches(SparsityPattern &block_list, - const DoFHandlerType &dof_handler, + const DoFHandler &dof_handler, const unsigned int level, const std::vector &selected_dofs = std::vector(), types::global_dof_index offset = 0);