]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Be more careful with instantiations.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 9 Jan 2010 00:30:33 +0000 (00:30 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 9 Jan 2010 00:30:33 +0000 (00:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@20342 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/multigrid/mg_dof_handler.cc

index 4617d3747c00f4d6f1fcfb3adcde909d0bd39207..dd9787ff24c9e4cad055a7d3a2dd20b491ba6d6e 100644 (file)
@@ -2257,6 +2257,7 @@ get_dof_index<1> (const unsigned int       obj_level,
                  const unsigned int       fe_index,
                  const unsigned int       local_index) const;
 
+#if deal_II_dimension < 3
 template
 unsigned int
 MGDoFHandler<deal_II_dimension,deal_II_dimension+1>::
@@ -2264,6 +2265,7 @@ get_dof_index<1> (const unsigned int       obj_level,
                  const unsigned int       obj_index,
                  const unsigned int       fe_index,
                  const unsigned int       local_index) const;
+#endif
 
 #if deal_II_dimension >= 2
 template
@@ -2274,6 +2276,7 @@ get_dof_index<2> (const unsigned int       obj_level,
                  const unsigned int       fe_index,
                  const unsigned int       local_index) const;
 
+#if deal_II_dimension < 3
 template
 unsigned int
 MGDoFHandler<deal_II_dimension,deal_II_dimension+1>::
@@ -2281,6 +2284,7 @@ get_dof_index<2> (const unsigned int       obj_level,
                  const unsigned int       obj_index,
                  const unsigned int       fe_index,
                  const unsigned int       local_index) const;
+#endif
 
 #if deal_II_dimension >= 3
 template
@@ -2302,6 +2306,7 @@ set_dof_index<1> (const unsigned int       obj_level,
                  const unsigned int       local_index,
                  const unsigned int       global_index) const;
 
+#if deal_II_dimension < 3
 template
 void
 MGDoFHandler<deal_II_dimension,deal_II_dimension+1>::
@@ -2310,6 +2315,7 @@ set_dof_index<1> (const unsigned int       obj_level,
                  const unsigned int       fe_index,
                  const unsigned int       local_index,
                  const unsigned int       global_index) const;
+#endif
 
 #if deal_II_dimension >= 2
 template
@@ -2321,6 +2327,7 @@ set_dof_index<2> (const unsigned int       obj_level,
                  const unsigned int       local_index,
                  const unsigned int       global_index) const;
 
+#if deal_II_dimension < 3
 template
 void
 MGDoFHandler<deal_II_dimension,deal_II_dimension+1>::
@@ -2329,6 +2336,7 @@ set_dof_index<2> (const unsigned int       obj_level,
                  const unsigned int       fe_index,
                  const unsigned int       local_index,
                  const unsigned int       global_index) const;
+#endif
 
 #if deal_II_dimension >= 3
 template

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.