]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Added one assertion to setup_line_to_cell. 15947/head
authorMarc Fehling <mafehling.git@gmail.com>
Thu, 31 Aug 2023 00:31:11 +0000 (18:31 -0600)
committerMarc Fehling <mafehling.git@gmail.com>
Thu, 31 Aug 2023 00:31:11 +0000 (18:31 -0600)
include/deal.II/matrix_free/hanging_nodes_internal.h

index cc770bc39c6aee61949924a88d9bdf86f0e848d7..03b6596820d9ebb099c2f952472701455b301f77 100644 (file)
@@ -474,6 +474,8 @@ namespace internal
                   const unsigned int child_line_idx =
                     child->line_index(neighbor_line);
 
+                  Assert(child->is_active(), ExcInternalError());
+
                   // Now add all active cells
                   for (const auto &cl : line_to_cells[line_idx])
                     line_to_cells[child_line_idx].push_back(cl);

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.