]> https://gitweb.dealii.org/ - dealii.git/commitdiff
improve documentation 7396/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 31 Oct 2018 07:27:00 +0000 (08:27 +0100)
committerDenis Davydov <davydden@gmail.com>
Thu, 1 Nov 2018 16:30:22 +0000 (17:30 +0100)
Co-Authored-By: davydden <davydden@gmail.com>
include/deal.II/base/utilities.h

index 846357a59fc37f086b8e06b9f5e158fc388de5d3..e1598c2787afde94c027ac1e4e1f11f73e433c16 100644 (file)
@@ -104,12 +104,12 @@ namespace Utilities
     const int                                          bits_per_dim = 64);
 
   /**
-   * Interleave the least significant @p bits_per_dim bits from each element of @p index
+   * Pack the least significant @p bits_per_dim bits from each element of @p index
    * (starting from last) into a single unsigned integer. The last element
-   * of @p index will be used to set the first @p bits_per_dim in the
-   * resulting integer, the pre last element is used to set the next @p bits_per_dim,
-   * etc. Clearly, the following should hold <code>bits\_per\_dim * dim <=
-   * 64</code>.
+   * of @p index will be used to set the first @p bits_per_dim bits in the
+   * resulting integer, the second to last element is used to set the next @p bits_per_dim bits,
+   * etc.. To fit all the data into the output, the following should hold
+   * <code>bits\_per\_dim * dim <= 64</code>.
    *
    * The function is useful in debugging and visualization of indices returned
    * by inverse_Hilbert_space_filling_curve().

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.