From 123fe8ee61ae88fc32431814b4df667751416ede Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Sun, 24 Apr 2016 20:33:36 +0200 Subject: [PATCH] Add missing instantiations --- source/dofs/dof_handler.inst.in | 8 +++++++ source/dofs/dof_tools_sparsity.inst.in | 30 ++++++++++++++------------ source/hp/dof_handler.inst.in | 8 +++++++ 3 files changed, 32 insertions(+), 14 deletions(-) diff --git a/source/dofs/dof_handler.inst.in b/source/dofs/dof_handler.inst.in index 36fbf89684..e493928694 100644 --- a/source/dofs/dof_handler.inst.in +++ b/source/dofs/dof_handler.inst.in @@ -21,6 +21,10 @@ for (scalar: REAL_SCALARS; deal_II_dimension : DIMENSIONS) #if deal_II_dimension < 3 template types::global_dof_index DoFHandler::n_boundary_dofs (const std::map*> &boundary_ids) const; #endif + +#if deal_II_dimension == 1 + template types::global_dof_index DoFHandler::n_boundary_dofs (const std::map*> &boundary_ids) const; +#endif } @@ -31,6 +35,10 @@ for (scalar: COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS) #if deal_II_dimension < 3 template types::global_dof_index DoFHandler::n_boundary_dofs (const std::map*> &boundary_ids) const; #endif + +#if deal_II_dimension == 1 + template types::global_dof_index DoFHandler::n_boundary_dofs (const std::map*> &boundary_ids) const; +#endif } diff --git a/source/dofs/dof_tools_sparsity.inst.in b/source/dofs/dof_tools_sparsity.inst.in index 440a1890b2..a5fdc03a5b 100644 --- a/source/dofs/dof_tools_sparsity.inst.in +++ b/source/dofs/dof_tools_sparsity.inst.in @@ -52,6 +52,22 @@ for (scalar: REAL_SCALARS; SP : SPARSITY_PATTERNS; deal_II_dimension : DIMENSION // SP &sparsity); #endif + +#if deal_II_dimension == 1 + template void + DoFTools::make_boundary_sparsity_pattern,SP,scalar> + (const hp::DoFHandler& dof, + const std::map*> &boundary_ids, + const std::vector &dof_to_boundary_mapping, + SP &sparsity); + + template void + DoFTools::make_boundary_sparsity_pattern,SP,scalar> + (const DoFHandler& dof, + const std::map*> &boundary_ids, + const std::vector &dof_to_boundary_mapping, + SP &sparsity); +#endif } @@ -321,20 +337,6 @@ for (SP : SPARSITY_PATTERNS; deal_II_dimension : DIMENSIONS) const std::vector &, SP &); - template void - DoFTools::make_boundary_sparsity_pattern,SP,double> - (const DoFHandler<1,3>& dof, - const std::map*> &boundary_ids, - const std::vector &dof_to_boundary_mapping, - SP &sparsity); - - template void - DoFTools::make_boundary_sparsity_pattern,SP,double> - (const hp::DoFHandler<1,3>& dof, - const std::map*> &boundary_ids, - const std::vector &dof_to_boundary_mapping, - SP &sparsity); - #endif } diff --git a/source/hp/dof_handler.inst.in b/source/hp/dof_handler.inst.in index 4d67b9847b..35bff5a06c 100644 --- a/source/hp/dof_handler.inst.in +++ b/source/hp/dof_handler.inst.in @@ -22,6 +22,10 @@ for (scalar: REAL_SCALARS; deal_II_dimension : DIMENSIONS) #if deal_II_dimension < 3 template types::global_dof_index DoFHandler::n_boundary_dofs (const std::map*> &boundary_ids) const; #endif + +#if deal_II_dimension == 1 + template types::global_dof_index DoFHandler::n_boundary_dofs (const std::map*> &boundary_ids) const; +#endif \} } @@ -34,6 +38,10 @@ for (scalar: COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS) #if deal_II_dimension < 3 template types::global_dof_index DoFHandler::n_boundary_dofs (const std::map*> &boundary_ids) const; #endif + +#if deal_II_dimension == 1 + template types::global_dof_index DoFHandler::n_boundary_dofs (const std::map*> &boundary_ids) const; +#endif \} } -- 2.39.5