]> https://gitweb.dealii.org/ - release-papers.git/commitdiff
Fix another minor mistake.
authorDavid Wells <drwells@email.unc.edu>
Mon, 21 Jun 2021 21:32:26 +0000 (17:32 -0400)
committerDavid Wells <drwells@email.unc.edu>
Mon, 21 Jun 2021 21:32:26 +0000 (17:32 -0400)
Only DoFHandler iterators have get_fe().

9.3/paper.tex

index d8b8e47e1efd674b2f40fe1ff941d454d0ac41ab..df540a869c4901c7f6308c4d91394bc970ddf63b 100644 (file)
@@ -683,7 +683,7 @@ cell-local arrays need to be resized for each
 cell (as has previously already been the case in the $hp$-context):
 \begin{c++}
 std::vector<double> local_rhs;
-for (const auto &cell : tria.active_cell_iterators())
+for (const auto &cell : dof_handler.active_cell_iterators())
  {
    hp_fe_values.reinit(cell);
    local_rhs.resize(cell->get_fe().n_dofs_per_cell());

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.