From 46df0c19b8250e2762f84b84450c82a40db759db Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 27 Aug 2018 14:51:32 -0600 Subject: [PATCH] Improve documentation of RefinementPossibilities. --- include/deal.II/base/geometry_info.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/include/deal.II/base/geometry_info.h b/include/deal.II/base/geometry_info.h index b586b2284d..31e75d1f0e 100644 --- a/include/deal.II/base/geometry_info.h +++ b/include/deal.II/base/geometry_info.h @@ -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(-1) + isotropic_refinement = 0xFF }; }; -- 2.39.5