]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Don't instantiate make_periodicity_constraints for dim == 1
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 21 May 2012 22:23:20 +0000 (22:23 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 21 May 2012 22:23:20 +0000 (22:23 +0000)
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

index ad03511dc23e44526f91f559c05f73657966d4da..5d7124b652a1c58b5a5afa681b15054a196ff562 100644 (file)
@@ -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<bool> &);
+#endif
 }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.