]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Don't explicitely specialize static member variables, because they
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 18 May 2001 07:50:50 +0000 (07:50 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 18 May 2001 07:50:50 +0000 (07:50 +0000)
have already been used. Only provide storage for them.

git-svn-id: https://svn.dealii.org/trunk@4665 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 7b683a85130a771fdcc582354630221cf22a6384..554a46a742a16fe05f3579e0f5a4cfd22e796e2b 100644 (file)
 #include <grid/geometry_info.h>
 
 
-template <> const unsigned int GeometryInfo<deal_II_dimension>::vertices_per_cell;
-template <> const unsigned int GeometryInfo<deal_II_dimension>::lines_per_cell;
-template <> const unsigned int GeometryInfo<deal_II_dimension>::quads_per_cell;
-template <> const unsigned int GeometryInfo<deal_II_dimension>::hexes_per_cell;
-template <> const unsigned int GeometryInfo<deal_II_dimension>::children_per_cell;
+template <int dim> const unsigned int GeometryInfo<dim>::vertices_per_cell;
+template <int dim> const unsigned int GeometryInfo<dim>::lines_per_cell;
+template <int dim> const unsigned int GeometryInfo<dim>::quads_per_cell;
+template <int dim> const unsigned int GeometryInfo<dim>::hexes_per_cell;
+template <int dim> const unsigned int GeometryInfo<dim>::children_per_cell;
 
 
 template <>
@@ -36,3 +36,6 @@ template <>
 const unsigned int GeometryInfo<3>::opposite_face[GeometryInfo<3>::faces_per_cell]
 = { 1, 0, 4, 5, 2, 3 };
 
+
+
+template class GeometryInfo<deal_II_dimension>;

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.