From 8568895b3636a5e6c7ec9f293f447c4ba401fe0b Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 15 Jun 2014 14:29:18 +0000 Subject: [PATCH] Provide some more instantiations for the codimension 1 case. git-svn-id: https://svn.dealii.org/trunk@33045 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/news/changes.h | 8 ++++++++ deal.II/source/dofs/dof_tools.inst.in | 15 ++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/deal.II/doc/news/changes.h b/deal.II/doc/news/changes.h index 9cbe16bcdd..7b1c9edc11 100644 --- a/deal.II/doc/news/changes.h +++ b/deal.II/doc/news/changes.h @@ -148,6 +148,14 @@ inconvenience this causes.

Specific improvements

    +
  1. New: Functions DoFTools::extract_locally_relevant_dofs(), + parallel::distributed::refine_and_coarsen_fixed_number() and + parallel::distributed::refine_and_coarsen_fixed_fraction() are + now also instantiation for objects of codimension 1. +
    + (Michal Wichrowski, 2014/06/15) +
  2. +
  3. New: There are now functions Triangulation::has_hanging_nodes() and parallel::distributed::Triangulation::has_hanging_nodes().
    diff --git a/deal.II/source/dofs/dof_tools.inst.in b/deal.II/source/dofs/dof_tools.inst.in index 9309ae6bc2..42d18057c3 100644 --- a/deal.II/source/dofs/dof_tools.inst.in +++ b/deal.II/source/dofs/dof_tools.inst.in @@ -1,7 +1,7 @@ // --------------------------------------------------------------------- // $Id$ // -// Copyright (C) 2009 - 2013 by the deal.II authors +// Copyright (C) 2009 - 2014 by the deal.II authors // // This file is part of the deal.II library. // @@ -15,6 +15,10 @@ // --------------------------------------------------------------------- + + + + for (SP : SPARSITY_PATTERNS; deal_II_dimension : DIMENSIONS) { template void @@ -30,6 +34,15 @@ for (SP : SPARSITY_PATTERNS; deal_II_dimension : DIMENSIONS) for (deal_II_dimension : DIMENSIONS) { + +#if deal_II_dimension > 1 + template + void + DoFTools::extract_locally_relevant_dofs > + (const DoFHandler & dof_handler, + IndexSet & dof_set); +#endif + template void DoFTools::make_vertex_patches (SparsityPattern&, const DoFHandler&, unsigned int, bool, bool, bool, bool); -- 2.39.5