]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Simplify code a bit.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Nov 2010 23:59:51 +0000 (23:59 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Nov 2010 23:59:51 +0000 (23:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@22825 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/fe/mapping_q1.cc

index eb5b0d558b84d1a93c607ab5edc9d738c24f67b1..a842c3ecc7c9b17e8ad4ed37f2705b40df5d21a8 100644 (file)
@@ -940,34 +940,18 @@ namespace internal
 {
   namespace
   {
+    template <int spacedim>
     void
-    compute_fill_face (const dealii::MappingQ1<1,1> &,
-                      const dealii::Triangulation<1,1>::cell_iterator &,
-                      const unsigned int,
-                      const unsigned int,
-                      const unsigned int,
-                      const std::vector<double> &,
-                      dealii::MappingQ1<1,1>::InternalData &,
-                      std::vector<double> &,
-                      std::vector<Tensor<1,1> > &,
-                      std::vector<Point<1> > &)
-    {
-      Assert(false, ExcNotImplemented());
-    }
-
-
-
-    void
-    compute_fill_face (const dealii::MappingQ1<1,2> &,
-                      const dealii::Triangulation<1,2>::cell_iterator &,
+    compute_fill_face (const dealii::MappingQ1<1,spacedim> &,
+                      const typename dealii::Triangulation<1,spacedim>::cell_iterator &,
                       const unsigned int,
                       const unsigned int,
                       const unsigned int,
                       const std::vector<double> &,
-                      dealii::MappingQ1<1,2>::InternalData &,
+                      typename dealii::MappingQ1<1,spacedim>::InternalData &,
                       std::vector<double> &,
-                      std::vector<Tensor<1,2> > &,
-                      std::vector<Point<2> > &)
+                      std::vector<Tensor<1,spacedim> > &,
+                      std::vector<Point<spacedim> > &)
     {
       Assert(false, ExcNotImplemented());
     }

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.