]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Apply review 15843/head
authorPeter Munch <peterrmuench@gmail.com>
Wed, 23 Aug 2023 09:20:18 +0000 (11:20 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Wed, 23 Aug 2023 09:20:18 +0000 (11:20 +0200)
include/deal.II/non_matching/mapping_info.h

index b8c571fd95bbdd1d988638a7fc25e20270acba02..8cb66a73fe2ce812a12b49147b4368f1e99d3ef9 100644 (file)
@@ -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;
 

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.