From: Matthias Maier Date: Thu, 18 Jan 2024 18:50:00 +0000 (-0600) Subject: DofTools: add missing codimension-one instantiation X-Git-Tag: v9.5.2~2^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16539%2Fhead;p=dealii.git DofTools: add missing codimension-one instantiation --- diff --git a/source/dofs/dof_tools_sparsity.inst.in b/source/dofs/dof_tools_sparsity.inst.in index 0a7430be4e..144f1ffd4a 100644 --- a/source/dofs/dof_tools_sparsity.inst.in +++ b/source/dofs/dof_tools_sparsity.inst.in @@ -257,15 +257,17 @@ for (deal_II_dimension : DIMENSIONS) } -for (deal_II_dimension : DIMENSIONS) +for (deal_II_dimension, deal_II_space_dimension : DIMENSIONS) { +#if deal_II_dimension <= deal_II_space_dimension template Table<2, DoFTools::Coupling> DoFTools::dof_couplings_from_component_couplings( - const FiniteElement &fe, - const Table<2, DoFTools::Coupling> & component_couplings); + const FiniteElement &fe, + const Table<2, DoFTools::Coupling> &component_couplings); template std::vector> DoFTools::dof_couplings_from_component_couplings( - const hp::FECollection &fe, - const Table<2, DoFTools::Coupling> & component_couplings); + const hp::FECollection &fe, + const Table<2, DoFTools::Coupling> &component_couplings); +#endif }