]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add missing instantiations
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 12 Jul 2005 22:09:36 +0000 (22:09 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 12 Jul 2005 22:09:36 +0000 (22:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@11133 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/geometry_info.cc

index 759eddab8bbc3f6576f7d4f3cd85965e05e677f2..7280afa11d42bfd5bd4d71af28689715cf303331 100644 (file)
@@ -210,6 +210,35 @@ GeometryInfo<3>::line_to_cell_vertices (const unsigned int line,
 
 
 
+//TODO:[GK] Is this the correct notion in 1D?
+template <>
+unsigned int
+GeometryInfo<1>::face_to_cell_lines (const unsigned int face,
+                                    const unsigned int line,
+                                    const bool)
+{
+  Assert (face+1<faces_per_cell+1, ExcIndexRange(face, 0, faces_per_cell));
+  Assert (line+1<lines_per_face+1, ExcIndexRange(line, 0, lines_per_face));
+
+  return face;
+}
+
+
+
+template <>
+unsigned int
+GeometryInfo<2>::face_to_cell_lines (const unsigned int face,
+                                    const unsigned int line,
+                                    const bool)
+{
+  Assert (face<faces_per_cell, ExcIndexRange(face, 0, faces_per_cell));
+  Assert (line<lines_per_face, ExcIndexRange(line, 0, lines_per_face));
+
+  return face;
+}
+
+
+
 template <>
 unsigned int
 GeometryInfo<3>::face_to_cell_lines (const unsigned int face,

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.