From e97d1d314a8e95f1885f4f7b359231dad35d2f8c Mon Sep 17 00:00:00 2001 From: Simon Sticko Date: Fri, 17 Jan 2020 17:34:48 +0100 Subject: [PATCH] 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. --- source/dofs/dof_tools_sparsity.inst.in | 8 -------- 1 file changed, 8 deletions(-) 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< -- 2.39.5