]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Put definitions of static variables into sections guared by
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 24 Apr 2002 07:50:50 +0000 (07:50 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 24 Apr 2002 07:50:50 +0000 (07:50 +0000)
#if deal_II_dimension == ...

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

deal.II/deal.II/source/grid/grid_reordering.cc

index cae5e0725626325cbad5d1e9595c695e293cc409..3b9abab561145438537a2a42317f04324a8ffd50 100644 (file)
@@ -25,10 +25,15 @@ using namespace std;
 
 
 // static variables
+#if deal_II_dimension == 2
 const unsigned int GridReorderingInfo<2>::rotational_states_of_cells;
 const unsigned int GridReorderingInfo<2>::rotational_states_of_faces;
+#endif
+
+#if deal_II_dimension == 3
 const unsigned int GridReorderingInfo<3>::rotational_states_of_cells;
 const unsigned int GridReorderingInfo<3>::rotational_states_of_faces;
+#endif
 
 template <int dim>
 const unsigned int GridReordering<dim>::Cell::invalid_neighbor;

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.