]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve documentation of RefinementPossibilities. 7126/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 27 Aug 2018 20:51:32 +0000 (14:51 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 27 Aug 2018 20:51:32 +0000 (14:51 -0600)
include/deal.II/base/geometry_info.h

index b586b2284d22bb8989f5a733c492ee2c5e8f2980..31e75d1f0e0e7549e09a4142e9cc3e609c195703 100644 (file)
@@ -355,9 +355,17 @@ struct RefinementPossibilities
     no_refinement = 0,
 
     /**
-     * Perform isotropic refinement.
+     * Perform isotropic refinement. This implies
+     * refining in all coordinate directions. For the
+     * current general template class -- which is never used
+     * because there are specializations for the 1d, 2d, and 3d
+     * cases --, we simply set this number to a value that has
+     * all bits set. The specializations in
+     * RefinementPossibilities<1>, RefinementPossibilities<2>,
+     * and RefinementPossibilities<3> set the corresponding `enum` element
+     * to more reasonable values.
      */
-    isotropic_refinement = static_cast<std::uint8_t>(-1)
+    isotropic_refinement = 0xFF
   };
 };
 

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.