From: David Wells Date: Sun, 15 Oct 2017 01:09:48 +0000 (-0400) Subject: Add codim instantiations for make_zero_boundary_constraints. X-Git-Tag: v9.0.0-rc1~946^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f27dc2cd9f8852437d8ce2ed631dec3ca5fe712;p=dealii.git Add codim instantiations for make_zero_boundary_constraints. --- diff --git a/source/dofs/dof_tools_constraints.inst.in b/source/dofs/dof_tools_constraints.inst.in index 1fda53d017..9e65987564 100644 --- a/source/dofs/dof_tools_constraints.inst.in +++ b/source/dofs/dof_tools_constraints.inst.in @@ -72,52 +72,48 @@ for (DH : DOFHANDLER_TEMPLATES; deal_II_dimension : DIMENSIONS) #endif } -for (deal_II_dimension : DIMENSIONS) +for (DH : DOFHANDLER_TEMPLATES; deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS) { +#if deal_II_dimension <= deal_II_space_dimension template void DoFTools::make_zero_boundary_constraints - (const DoFHandler &, - ConstraintMatrix &, - const ComponentMask &); + (const DH &, + ConstraintMatrix &, + const ComponentMask &); template void DoFTools::make_zero_boundary_constraints - (const DoFHandler &, + (const DH &, const types::boundary_id, - ConstraintMatrix &, - const ComponentMask &); - - template - void - DoFTools::make_zero_boundary_constraints - (const hp::DoFHandler &, - ConstraintMatrix &, - const ComponentMask &); - - template - void - DoFTools::make_zero_boundary_constraints - (const hp::DoFHandler &, - const types::boundary_id, - ConstraintMatrix &, - const ComponentMask &); + ConstraintMatrix &, + const ComponentMask &); +#endif +} +// intergrid transfer is not yet implemented for hp::DoFHandler +for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS) +{ +#if deal_II_dimension <= deal_II_space_dimension template void - DoFTools::compute_intergrid_constraints ( - const DoFHandler &, const unsigned int, - const DoFHandler &, const unsigned int, - const InterGridMap > &, - ConstraintMatrix&); + DoFTools::compute_intergrid_constraints + (const DoFHandler &, + const unsigned int, + const DoFHandler &, + const unsigned int, + const InterGridMap > &, + ConstraintMatrix &); template void DoFTools::compute_intergrid_transfer_representation - (const DoFHandler &, const unsigned int, - const DoFHandler &, const unsigned int, - const InterGridMap > &, + (const DoFHandler &, + const unsigned int, + const DoFHandler &, + const unsigned int, + const InterGridMap > &, std::vector > &); - +#endif }