]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Include declarations of explicit specializations.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Tue, 22 May 2001 17:55:05 +0000 (17:55 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Tue, 22 May 2001 17:55:05 +0000 (17:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@4704 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/fe/mapping_q1.h

index 2f2cefe75845395c211dd50040c7b4121c5ea6ef..56f44931b6008e7fb5d56c7a3e7ea84e3da80823 100644 (file)
@@ -514,4 +514,56 @@ class MappingQ1 : public Mapping<dim>
 };
 
 
+/* -------------- 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<Point<1> > &unit_points,
+  InternalData& data) const;
+template<> void MappingQ1<2>::compute_shapes_virtual (
+  const std::vector<Point<2> > &unit_points,
+  InternalData &data) const;
+template<> void MappingQ1<3>::compute_shapes_virtual (
+  const std::vector<Point<3> > &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<double> &,
+  InternalData &,
+  std::vector<Point<1> > &,
+  std::vector<double> &,
+  std::vector<Tensor<1,1> > &,
+  std::vector<Point<1> > &) const;
+
+template <> void MappingQ1<1>::fill_fe_face_values (
+  const DoFHandler<1>::cell_iterator &,
+  const unsigned,
+  const Quadrature<0>&,
+  Mapping<1>::InternalDataBase&,
+  std::vector<Point<1> >&,
+  std::vector<double>&,
+  std::vector<Tensor<1,1> >&,
+  std::vector<Point<1> >&) 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<Point<1> >&,
+  std::vector<double>&,
+  std::vector<Tensor<1,1> >&,
+  std::vector<Point<1> >&) const;
+
+
 #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.