]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add a changelog and adjust documentation 8032/head
authorDenis Davydov <davydden@gmail.com>
Tue, 7 May 2019 17:39:29 +0000 (19:39 +0200)
committerDenis Davydov <davydden@gmail.com>
Tue, 7 May 2019 18:30:45 +0000 (20:30 +0200)
doc/news/changes/minor/20190507DenisDavydov [new file with mode: 0644]
include/deal.II/base/utilities.h

diff --git a/doc/news/changes/minor/20190507DenisDavydov b/doc/news/changes/minor/20190507DenisDavydov
new file mode 100644 (file)
index 0000000..d8db74f
--- /dev/null
@@ -0,0 +1,3 @@
+Improved: Extend Utilities::inverse_Hilbert_space_filling_curve to handle degenerate cases.
+<br>
+(Denis Davydov, 2019/05/07)
index f43ac81897366e88532e38cfb644eabbfd089acb..8017a392ed70e96c83f2e1ca788c8547c98114ac 100644 (file)
@@ -91,6 +91,9 @@ namespace Utilities
    *
    * The depth of the Hilbert curve (i.e. the number of bits per dimension) by
    * default is equal to <code>64</code>.
+   *
+   * @note This function can also handle degenerate cases, e.g. when the bounding
+   * box has zero size in one of the dimensions.
    */
   template <int dim, typename Number>
   std::vector<std::array<std::uint64_t, dim>>

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.