]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Guard an explicit specialization to avoid multiple definitions.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 13 Dec 2008 17:13:09 +0000 (17:13 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 13 Dec 2008 17:13:09 +0000 (17:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@17926 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/mapping_q1.cc

index 989bc02ef8c393f43b02727ea2d48f07a3b04ab1..e4fb0206ae4b43f7cc240fbaffaebcff56d88294 100644 (file)
@@ -856,6 +856,8 @@ MappingQ1<dim,spacedim>::fill_fe_values (const typename Triangulation<dim,spaced
 }
 
 
+#if deal_II_dimension == 2
+
 template<>
 void
 MappingQ1<2,3>::compute_fill_face (const Triangulation<2,3>::cell_iterator &,
@@ -874,6 +876,7 @@ MappingQ1<2,3>::compute_fill_face (const Triangulation<2,3>::cell_iterator &,
        Assert(false, ExcNotImplemented());
 }
 
+#endif
 
 template<int dim, int spacedim>
 void

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.