]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
now there is an instance for extract_inner_interface_dofs in 1d
authorjanssen <janssen@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 5 Feb 2010 15:38:48 +0000 (15:38 +0000)
committerjanssen <janssen@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 5 Feb 2010 15:38:48 +0000 (15:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@20510 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/multigrid/mg_dof_tools.cc

index 7c569f2175a3b0f9c87dc459c0af1b2a3cac47da..7f0d8146befe24220fa63b86134e48d51b16de66 100644 (file)
@@ -63,7 +63,6 @@ MGTools::compute_row_length_vector(
   Assert(false, ExcNotImplemented());
 }
 
-
 #else
 
 // Template for 2D and 3D. For 1D see specialization above
@@ -1299,6 +1298,31 @@ MGTools::make_boundary_list(
 #endif
 
 
+#if deal_II_dimension == 1
+
+template <int dim, int spacedim>
+void
+MGTools::
+extract_inner_interface_dofs (
+  const MGDoFHandler<dim,spacedim>&,
+  std::vector<std::vector<bool> > &,
+  std::vector<std::vector<bool> > &)
+{
+  Assert(false, ExcNotImplemented());
+}
+
+template <int dim, int spacedim>
+void
+MGTools::
+extract_inner_interface_dofs (
+  const MGDoFHandler<dim,spacedim>&,
+  std::vector<std::vector<bool> > &)
+{
+  Assert(false, ExcNotImplemented());
+}
+
+
+#else
 
 template <int dim, int spacedim>
 void
@@ -1459,6 +1483,7 @@ extract_inner_interface_dofs (const MGDoFHandler<dim,spacedim> &mg_dof_handler,
     }
 }
 
+#endif
 
 
 DEAL_II_NAMESPACE_CLOSE
@@ -1530,7 +1555,6 @@ template void MGTools::make_boundary_list(
   std::vector<std::set<unsigned int> >&,
   const std::vector<bool>&);
 
-#if deal_II_dimension > 1
 template
 void
 MGTools::
@@ -1542,6 +1566,5 @@ void
 MGTools::
 extract_inner_interface_dofs (const MGDoFHandler<deal_II_dimension> &mg_dof_handler,
                              std::vector<std::vector<bool> >  &interface_dofs);
-#endif
 
 DEAL_II_NAMESPACE_CLOSE

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.