From 82c9fdc8487c7dc53fd2c9af624e4fd4e527c660 Mon Sep 17 00:00:00 2001 From: Ralf Hartmann Date: Fri, 24 Feb 2006 17:27:38 +0000 Subject: [PATCH] DH templatize some more functions. git-svn-id: https://svn.dealii.org/trunk@12500 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/dofs/dof_tools.h | 91 +++++------- deal.II/deal.II/source/dofs/dof_tools.cc | 170 +++++++++++------------ 2 files changed, 113 insertions(+), 148 deletions(-) diff --git a/deal.II/deal.II/include/dofs/dof_tools.h b/deal.II/deal.II/include/dofs/dof_tools.h index 4300e71e7f..d7725cf5d3 100644 --- a/deal.II/deal.II/include/dofs/dof_tools.h +++ b/deal.II/deal.II/include/dofs/dof_tools.h @@ -436,12 +436,15 @@ class DoFTools * non-zero component is taken * and additional ones for this * component are ignored. + * + * Not implemented for + * hp::DoFHandler. */ - template + template static void - make_sparsity_pattern (const DoFHandler& dof, - const Table<2, Coupling>& coupling, + make_sparsity_pattern (const DH &dof, + const Table<2, Coupling> &coupling, SparsityPattern& sparsity_pattern); /** @@ -451,10 +454,10 @@ class DoFTools * of DoFTools::Coupling values and calls * it. */ - template + template static void - make_sparsity_pattern (const DoFHandler &dof, + make_sparsity_pattern (const DH &dof, const std::vector > &mask, SparsityPattern &sparsity_pattern); @@ -554,13 +557,16 @@ class DoFTools * couplings in a cell and one * for the couplings occuring in * fluxes. + * + * Not implemented for + * hp::DoFHandler. */ - template + template static void - make_flux_sparsity_pattern (const DoFHandler &dof, - SparsityPattern &sparsity, - const Table<2,Coupling>& int_mask, - const Table<2,Coupling>& flux_mask); + make_flux_sparsity_pattern (const DH &dof, + SparsityPattern &sparsity, + const Table<2,Coupling> &int_mask, + const Table<2,Coupling> &flux_mask); //@} /** @@ -701,9 +707,9 @@ class DoFTools * speak: they are * non-primitive). */ - template class DH> + template static void - distribute_cell_to_dof_vector (const DH &dof_handler, + distribute_cell_to_dof_vector (const DH &dof_handler, const Vector &cell_data, Vector &dof_data, const unsigned int component = 0); @@ -825,20 +831,9 @@ class DoFTools * in the mask corresponding to * later components are ignored. */ - template class DH> - static void - extract_boundary_dofs (const DH &dof_handler, - const std::vector &component_select, - std::vector &selected_dofs, - const std::set &boundary_indicators = std::set()); - - /** - * Declaration of same function - * for different space dimension. - */ - template