From 3f56d0539103f5dcb9444cebdb2ef58173c912be Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Sat, 27 Feb 2016 21:19:22 +0100 Subject: [PATCH] instantiate n_boundary_dofs() for COMPLEX_SCALARS --- source/dofs/dof_handler.inst.in | 10 ++++++++++ source/hp/dof_handler.inst.in | 12 ++++++++++++ 2 files changed, 22 insertions(+) diff --git a/source/dofs/dof_handler.inst.in b/source/dofs/dof_handler.inst.in index 17dcab09ff..36fbf89684 100644 --- a/source/dofs/dof_handler.inst.in +++ b/source/dofs/dof_handler.inst.in @@ -18,6 +18,16 @@ for (scalar: REAL_SCALARS; deal_II_dimension : DIMENSIONS) { template types::global_dof_index DoFHandler::n_boundary_dofs (const std::map*> &boundary_ids) const; +#if deal_II_dimension < 3 + template types::global_dof_index DoFHandler::n_boundary_dofs (const std::map*> &boundary_ids) const; +#endif + + } + +for (scalar: COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS) + { + template types::global_dof_index DoFHandler::n_boundary_dofs (const std::map*> &boundary_ids) const; + #if deal_II_dimension < 3 template types::global_dof_index DoFHandler::n_boundary_dofs (const std::map*> &boundary_ids) const; #endif diff --git a/source/hp/dof_handler.inst.in b/source/hp/dof_handler.inst.in index dff1f33058..4d67b9847b 100644 --- a/source/hp/dof_handler.inst.in +++ b/source/hp/dof_handler.inst.in @@ -24,6 +24,18 @@ for (scalar: REAL_SCALARS; deal_II_dimension : DIMENSIONS) #endif \} } + +for (scalar: COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS) + { + namespace hp + \{ + template types::global_dof_index DoFHandler::n_boundary_dofs (const std::map*> &boundary_ids) const; + +#if deal_II_dimension < 3 + template types::global_dof_index DoFHandler::n_boundary_dofs (const std::map*> &boundary_ids) const; +#endif + \} + } for (deal_II_dimension : DIMENSIONS) -- 2.39.5