From fdcf667606a3ad45d9a70ebb705cd5b96e59460d Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Tue, 7 May 2019 19:39:29 +0200 Subject: [PATCH] add a changelog and adjust documentation --- doc/news/changes/minor/20190507DenisDavydov | 3 +++ include/deal.II/base/utilities.h | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 doc/news/changes/minor/20190507DenisDavydov diff --git a/doc/news/changes/minor/20190507DenisDavydov b/doc/news/changes/minor/20190507DenisDavydov new file mode 100644 index 0000000000..d8db74fe31 --- /dev/null +++ b/doc/news/changes/minor/20190507DenisDavydov @@ -0,0 +1,3 @@ +Improved: Extend Utilities::inverse_Hilbert_space_filling_curve to handle degenerate cases. +
+(Denis Davydov, 2019/05/07) diff --git a/include/deal.II/base/utilities.h b/include/deal.II/base/utilities.h index f43ac81897..8017a392ed 100644 --- a/include/deal.II/base/utilities.h +++ b/include/deal.II/base/utilities.h @@ -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 64. + * + * @note This function can also handle degenerate cases, e.g. when the bounding + * box has zero size in one of the dimensions. */ template std::vector> -- 2.39.5