From: Peter Munch Date: Wed, 23 Aug 2023 09:20:18 +0000 (+0200) Subject: Apply review X-Git-Tag: relicensing~559^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15843%2Fhead;p=dealii.git Apply review --- diff --git a/include/deal.II/non_matching/mapping_info.h b/include/deal.II/non_matching/mapping_info.h index b8c571fd95..8cb66a73fe 100644 --- a/include/deal.II/non_matching/mapping_info.h +++ b/include/deal.II/non_matching/mapping_info.h @@ -230,10 +230,10 @@ namespace NonMatching bool use_global_weights; /** - * During the reinit() function calls, cells are passed as + * During the reinit_cells() function call, cells are passed as * argument. In the default case, the cell is not stored, * since all relevant mapping related information is precomputed. - * Hoever, this flag enables that the cells are stored so that + * However, this flag enables that the cells are stored so that * they can be accessed later on. */ bool store_cells; @@ -940,6 +940,8 @@ namespace NonMatching ExcMessage( "There is no known use-case for AdditionalData::use_global_weights=true and reinit_surface()")); + Assert(additional_data.store_cells == false, ExcNotImplemented()); + do_cell_index_compression = n_unfiltered_cells != numbers::invalid_unsigned_int; @@ -1040,6 +1042,8 @@ namespace NonMatching { clear(); + Assert(additional_data.store_cells == false, ExcNotImplemented()); + do_cell_index_compression = n_unfiltered_cells != numbers::invalid_unsigned_int;