From 3d9f6805ecf51d4e625eb0151f559003e8f9aa6f Mon Sep 17 00:00:00 2001 From: Ralf Hartmann Date: Tue, 22 May 2001 17:55:05 +0000 Subject: [PATCH] Include declarations of explicit specializations. git-svn-id: https://svn.dealii.org/trunk@4704 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/fe/mapping_q1.h | 52 +++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/deal.II/deal.II/include/fe/mapping_q1.h b/deal.II/deal.II/include/fe/mapping_q1.h index 2f2cefe758..56f44931b6 100644 --- a/deal.II/deal.II/include/fe/mapping_q1.h +++ b/deal.II/deal.II/include/fe/mapping_q1.h @@ -514,4 +514,56 @@ class MappingQ1 : public Mapping }; +/* -------------- declaration of explicit specializations ------------- */ + + +template<> const unsigned int MappingQ1<1>::vertex_mapping[2]; +template<> const unsigned int MappingQ1<2>::vertex_mapping[4]; +template<> const unsigned int MappingQ1<3>::vertex_mapping[8]; + +template<> void MappingQ1<1>::compute_shapes_virtual ( + const std::vector > &unit_points, + InternalData& data) const; +template<> void MappingQ1<2>::compute_shapes_virtual ( + const std::vector > &unit_points, + InternalData &data) const; +template<> void MappingQ1<3>::compute_shapes_virtual ( + const std::vector > &unit_points, + InternalData &data) const; + +template <> void MappingQ1<1>::compute_fill_face ( + const DoFHandler<1>::cell_iterator &, + const unsigned int, + const bool, + const unsigned int, + const unsigned int, + const std::vector &, + InternalData &, + std::vector > &, + std::vector &, + std::vector > &, + std::vector > &) const; + +template <> void MappingQ1<1>::fill_fe_face_values ( + const DoFHandler<1>::cell_iterator &, + const unsigned, + const Quadrature<0>&, + Mapping<1>::InternalDataBase&, + std::vector >&, + std::vector&, + std::vector >&, + std::vector >&) const; + +template <> void MappingQ1<1>::fill_fe_subface_values ( + const DoFHandler<1>::cell_iterator &, + const unsigned, + const unsigned, + const Quadrature<0>&, + Mapping<1>::InternalDataBase&, + std::vector >&, + std::vector&, + std::vector >&, + std::vector >&) const; + + #endif -- 2.39.5