From: wolf Date: Mon, 21 Apr 2003 16:14:30 +0000 (+0000) Subject: Fix missing declarations of explicit specializations. Remove unnecessary include... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f9340dd69c9109c44eac9a16de2ecc71153d668;p=dealii-svn.git Fix missing declarations of explicit specializations. Remove unnecessary include files. git-svn-id: https://svn.dealii.org/trunk@7418 0785d39b-7218-0410-832d-ea1e28bc413d --- 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)