From 73402024b868f6e4949fd4cd825e877d18ff1fd7 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Wed, 23 Aug 2023 11:20:18 +0200 Subject: [PATCH] Apply review --- include/deal.II/non_matching/mapping_info.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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; -- 2.39.5