]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix 1d non-compilability.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 29 Oct 1999 11:07:26 +0000 (11:07 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 29 Oct 1999 11:07:26 +0000 (11:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@1807 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/tria_boundary_lib.cc

index 6266ffaeabf05be417e6698a7e6ff2bf3bf11f7b..0f054f20b0a195226d9335cb54476051be60f2a4 100644 (file)
@@ -26,6 +26,21 @@ HyperBallBoundary<dim>::get_new_point_on_line (const typename Triangulation<dim>
 
 
 
+#if deal_II_dimension == 1
+
+template <>
+Point<1>
+HyperBallBoundary<1>::
+get_new_point_on_quad (const typename Triangulation<1>::quad_iterator &) const
+{
+  Assert (false, ExcInternalError());
+  return Point<1>();
+};
+
+#endif
+
+
+
 template <int dim>
 Point<dim>
 HyperBallBoundary<dim>::
@@ -73,6 +88,21 @@ get_new_point_on_line (const typename Triangulation<dim>::line_iterator &line) c
 
 
 
+#if deal_II_dimension == 1
+
+template <>
+Point<1>
+HyperShellBoundary<1>::
+get_new_point_on_quad (const typename Triangulation<1>::quad_iterator &) const
+{
+  Assert (false, ExcInternalError());
+  return Point<1>();
+};
+
+#endif
+
+
+
 template <int dim>
 Point<dim>
 HyperShellBoundary<dim>::

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.