]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Doc: Minor changes to hp::Refinement. 9061/head
authormarcfehling <marc.fehling@gmx.net>
Tue, 19 Nov 2019 17:17:27 +0000 (18:17 +0100)
committermarcfehling <marc.fehling@gmx.net>
Tue, 19 Nov 2019 17:17:27 +0000 (18:17 +0100)
include/deal.II/hp/refinement.h

index bf696efbcd8e4c634b75419f04bef5254a1b94eb..87c604ad93f649bab0892df79abc0903a01c6831 100644 (file)
@@ -433,7 +433,7 @@ namespace hp
      * // [initialisation...]
      * Vector<float> predicted_error_per_cell(triangulation.n_active_cells());
      * for(unsigned int i = 0; i < triangulation.n_active_cells(); ++i)
-     *   predicted_error_per_cell[i] = std::numeric_limits<float>::max();
+     *   predicted_error_per_cell[i] = std::numeric_limits<float>::infinity();
      *
      * // [during each refinement step...]
      * // set h-adaptivity flags
@@ -448,7 +448,7 @@ namespace hp
      *   predicted_error_per_cell,
      *   std::less<float>(),
      *   std::less<float>());
-     * hp::Refinement::{choose|force}_p_over_h(...);
+     * hp::Refinement::{choose|force}_p_over_h(hp_dof_handler);
      *
      * // predict error for the subsequent adaptation
      * triangulation.prepare_coarsening_and_refinement();

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.