]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add instantiations 4628/head
authorRene Gassmoeller <rene.gassmoeller@mailbox.org>
Sat, 22 Jul 2017 00:03:17 +0000 (18:03 -0600)
committerRene Gassmoeller <rene.gassmoeller@mailbox.org>
Sat, 22 Jul 2017 00:04:38 +0000 (18:04 -0600)
include/deal.II/base/geometry_info.h
source/base/geometry_info.cc

index caafecd2fb3bf9bf9f99d57bbbc6849c61df0451..edc4075fb1b8ed7d13d55ed3626dd97ba07fceb9 100644 (file)
@@ -946,7 +946,7 @@ struct GeometryInfo<0>
    * with the UCD numbering, this field can also be used like a
    * old_to_lexicographic mapping.
    */
-  static constexpr unsigned int ucd_to_deal[vertices_per_cell] = {0};
+  static const unsigned int ucd_to_deal[vertices_per_cell];
 
   /**
    * Rearrange vertices for OpenDX output.  For a cell being written in OpenDX
@@ -961,7 +961,7 @@ struct GeometryInfo<0>
    *   out << cell->vertex(dx_to_deal[i]);
    * @endcode
    */
-  static constexpr unsigned int dx_to_deal[vertices_per_cell] = {0};
+  static const unsigned int dx_to_deal[vertices_per_cell];
 };
 
 
index 3160005b8eaf4d734482725d969ff824c7400b2d..a836ee20e783b494ad1c6c271c6eb1566bda0cef 100644 (file)
@@ -106,6 +106,8 @@ GeometryInfo<4>::opposite_face[faces_per_cell]
   = { 1, 0, 3, 2, 5, 4, 7, 6 };
 
 
+const unsigned int GeometryInfo<0>::ucd_to_deal[GeometryInfo<0>::vertices_per_cell]
+  = {0};
 
 template <>
 const unsigned int GeometryInfo<1>::ucd_to_deal[GeometryInfo<1>::vertices_per_cell]
@@ -140,6 +142,9 @@ const unsigned int GeometryInfo<4>::ucd_to_deal[GeometryInfo<4>::vertices_per_ce
     };
 
 
+const unsigned int GeometryInfo<0>::dx_to_deal[GeometryInfo<0>::vertices_per_cell]
+  = {0};
+
 template <>
 const unsigned int GeometryInfo<1>::dx_to_deal[GeometryInfo<1>::vertices_per_cell]
   = { 0, 1};
@@ -1827,6 +1832,7 @@ alternating_form_at_vertices
 }
 
 
+template struct GeometryInfo<0>;
 template struct GeometryInfo<1>;
 template struct GeometryInfo<2>;
 template struct GeometryInfo<3>;

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.