]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix comments in @code blocks in hp headers 6897/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 7 Jul 2018 21:16:06 +0000 (23:16 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 7 Jul 2018 21:49:16 +0000 (23:49 +0200)
include/deal.II/hp/dof_handler.h

index 40fb02cfd18a8223a348705af674e98dfc803f84..a314768fc55ac259bc4305ee791c57b7fac2975f 100644 (file)
@@ -461,11 +461,14 @@ namespace hp
      * does not contain any active cells (i.e., all cells on this level are
      * further refined, then this function returns
      * <code>end_active(level)</code> so that loops of the kind
-     *  @code
-     *    for (cell=dof_handler.begin_active(level);
-     * cell!=dof_handler.end_active(level); ++cell)
-     *      ...
-     *  @endcode
+     * @code
+     *   for (cell=dof_handler.begin_active(level);
+     *        cell!=dof_handler.end_active(level);
+     *        ++cell)
+     *     {
+     *       ...
+     *     }
+     * @endcode
      * have zero iterations, as may be expected if there are no active cells
      * on this level.
      */
@@ -540,7 +543,7 @@ namespace hp
      * @code
      *   DoFHandler<dim> dof_handler;
      *   ...
-     *   for (auto cell : dof_handler.active_cell_iterators())
+     *   for (const auto &cell : dof_handler.active_cell_iterators())
      *     {
      *       fe_values.reinit (cell);
      *       ...do the local integration on '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.