From 2f9340dd69c9109c44eac9a16de2ecc71153d668 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 21 Apr 2003 16:14:30 +0000 Subject: [PATCH] Fix missing declarations of explicit specializations. Remove unnecessary include files. git-svn-id: https://svn.dealii.org/trunk@7418 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/fe/fe_nedelec.h | 62 +++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 4 deletions(-) diff --git a/deal.II/deal.II/include/fe/fe_nedelec.h b/deal.II/deal.II/include/fe/fe_nedelec.h index 4d512bfcb0..a7553e53be 100644 --- a/deal.II/deal.II/include/fe/fe_nedelec.h +++ b/deal.II/deal.II/include/fe/fe_nedelec.h @@ -14,12 +14,9 @@ #define __deal2__fe_nedelec_h #include -#include -#include #include #include -template class TensorProductPolynomials; template class MappingQ; @@ -579,7 +576,64 @@ class FE_Nedelec : public FiniteElement /* -------------- declaration of explicit specializations ------------- */ -template <> void FE_Nedelec<1>::initialize_unit_face_support_points (); +template <> +void FE_Nedelec<1>::initialize_unit_face_support_points (); + +template <> +double +FE_Nedelec<1>::shape_value_component (const unsigned int , + const Point<1> &, + const unsigned int ) const; + +template <> +double +FE_Nedelec<2>::shape_value_component (const unsigned int , + const Point<2> &, + const unsigned int ) const; + +template <> +double +FE_Nedelec<3>::shape_value_component (const unsigned int , + const Point<3> &, + const unsigned int ) const; + +template <> +Tensor<1,1> +FE_Nedelec<1>::shape_grad_component (const unsigned int , + const Point<1> &, + const unsigned int ) const; + +template <> +Tensor<1,2> +FE_Nedelec<2>::shape_grad_component (const unsigned int , + const Point<2> &, + const unsigned int ) const; + +template <> +Tensor<1,3> +FE_Nedelec<3>::shape_grad_component (const unsigned int , + const Point<3> &, + const unsigned int ) const; + +template <> +Tensor<2,1> +FE_Nedelec<1>::shape_grad_grad_component (const unsigned int , + const Point<1> &, + const unsigned int ) const; + +template <> +Tensor<2,2> +FE_Nedelec<2>::shape_grad_grad_component (const unsigned int , + const Point<2> &, + const unsigned int ) const; + +template <> +Tensor<2,3> +FE_Nedelec<3>::shape_grad_grad_component (const unsigned int , + const Point<3> &, + const unsigned int ) const; + + // declaration of explicit specializations of member variables, if the // compiler allows us to do that (the standard says we must) -- 2.39.5