]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Help some compilers (notably xlC) with name lookup.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Oct 2013 13:25:08 +0000 (13:25 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Oct 2013 13:25:08 +0000 (13:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@31203 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/geometry_info.h

index 22bfb276d2260550316baf08835030c7fac4b692..ced3b187defddbc45b4e949bafb71df48ffce42d 100644 (file)
@@ -2353,7 +2353,7 @@ RefinementCase<1>::cut_axis (const unsigned int i)
   const unsigned int dim = 1;
   Assert (i < dim, ExcIndexRange(i, 0, dim));
 
-  static const RefinementCase options[dim] = { cut_x };
+  static const RefinementCase options[dim] = { RefinementPossibilities<1>::cut_x };
   return options[i];
 }
 
@@ -2367,7 +2367,8 @@ RefinementCase<2>::cut_axis (const unsigned int i)
   const unsigned int dim = 2;
   Assert (i < dim, ExcIndexRange(i, 0, dim));
 
-  static const RefinementCase options[dim] = { cut_x, cut_y };
+  static const RefinementCase options[dim] = { RefinementPossibilities<2>::cut_x,
+                                              RefinementPossibilities<2>::cut_y };
   return options[i];
 }
 
@@ -2381,7 +2382,9 @@ RefinementCase<3>::cut_axis (const unsigned int i)
   const unsigned int dim = 3;
   Assert (i < dim, ExcIndexRange(i, 0, dim));
 
-  static const RefinementCase options[dim] = { cut_x, cut_y, cut_z };
+  static const RefinementCase options[dim] = { RefinementPossibilities<3>::cut_x,
+                                              RefinementPossibilities<3>::cut_y,
+                                              RefinementPossibilities<3>::cut_z };
   return options[i];
 }
 

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.