From b0205031ee947ada407c084a24d8d35bd2d34bef Mon Sep 17 00:00:00 2001 From: maier Date: Mon, 21 May 2012 22:23:20 +0000 Subject: [PATCH] Don't instantiate make_periodicity_constraints for dim == 1 As long as dealii::DoFAccessor<0, dealii::DoFHandler<1, 1> >::child(unsigned int) const dealii::DoFAccessor<0, dealii::DoFHandler<1, 1> >::get_fe(unsigned int) const dealii::DoFAccessor<0, dealii::DoFHandler<1, 1> >::n_active_fe_indices() const dealii::DoFAccessor<0, dealii::DoFHandler<1, 1> >::nth_active_fe_index(unsigned int) const dealii::DoFAccessor<0, dealii::hp::DoFHandler<1, 1> >::child(unsigned int) const dealii::DoFAccessor<0, dealii::hp::DoFHandler<1, 1> >::get_fe(unsigned int) const dealii::DoFAccessor<0, dealii::hp::DoFHandler<1, 1> >::n_active_fe_indices() const dealii::DoFAccessor<0, dealii::hp::DoFHandler<1, 1> >::nth_active_fe_index(unsigned int) const are not instantiated, we cannot instantiate make_periodicity_constraints for dim == 1 as well, otherwise linking against the libraries results in unresolved symbols... git-svn-id: https://svn.dealii.org/trunk@25534 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/dofs/dof_tools.inst.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deal.II/source/dofs/dof_tools.inst.in b/deal.II/source/dofs/dof_tools.inst.in index ad03511dc2..5d7124b652 100644 --- a/deal.II/source/dofs/dof_tools.inst.in +++ b/deal.II/source/dofs/dof_tools.inst.in @@ -319,6 +319,8 @@ for (DH : DOFHANDLERS; deal_II_dimension : DIMENSIONS) for (DH : DOFHANDLERS; deal_II_dimension : DIMENSIONS) { + +#if deal_II_dimension != 1 template void DoFTools::make_periodicity_constraints (const DH::face_iterator &, @@ -342,6 +344,7 @@ for (DH : DOFHANDLERS; deal_II_dimension : DIMENSIONS) dealii::Tensor<1,DH::space_dimension> &, dealii::ConstraintMatrix &, const std::vector &); +#endif } -- 2.39.5