From: Simon Sticko Date: Fri, 17 Jan 2020 16:34:48 +0000 (+0100) Subject: Instantiate hp version of make_flux_sparsity_pattern in 1D. X-Git-Tag: v9.2.0-rc1~629^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e97d1d314a8e95f1885f4f7b359231dad35d2f8c;p=dealii.git Instantiate hp version of make_flux_sparsity_pattern in 1D. The version of make_flux_sparsity_pattern that takes cell and face couplings is not instantiated for hp::DoFHandler in 1D. Trying to compile code using it leads to a linking error. Instantiate the function. --- diff --git a/source/dofs/dof_tools_sparsity.inst.in b/source/dofs/dof_tools_sparsity.inst.in index 43d478fa54..f73035578f 100644 --- a/source/dofs/dof_tools_sparsity.inst.in +++ b/source/dofs/dof_tools_sparsity.inst.in @@ -212,8 +212,6 @@ for (SP : SPARSITY_PATTERNS; deal_II_dimension : DIMENSIONS; const bool, const types::subdomain_id); -#if deal_II_dimension > 1 - template void DoFTools::make_flux_sparsity_pattern, SP>( const hp::DoFHandler &dof, @@ -224,8 +222,6 @@ for (SP : SPARSITY_PATTERNS; deal_II_dimension : DIMENSIONS; const Table<2, Coupling> &, const types::subdomain_id); -#endif - #if deal_II_dimension < 3 template void DoFTools::make_sparsity_pattern< @@ -341,8 +337,6 @@ for (SP : SPARSITY_PATTERNS; deal_II_dimension : DIMENSIONS) const Table<2, Coupling> &, const types::subdomain_id); -#if deal_II_dimension > 1 - template void DoFTools::make_flux_sparsity_pattern, SP>( const hp::DoFHandler &dof, @@ -351,8 +345,6 @@ for (SP : SPARSITY_PATTERNS; deal_II_dimension : DIMENSIONS) const Table<2, Coupling> &, const types::subdomain_id); -#endif - #if deal_II_dimension < 3 template void DoFTools::make_sparsity_pattern<