From: marcfehling Date: Tue, 19 Nov 2019 17:17:27 +0000 (+0100) Subject: Doc: Minor changes to hp::Refinement. X-Git-Tag: v9.2.0-rc1~867^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d8f08a4de8dcdb7af821cbf06a222b263f29ebe;p=dealii.git Doc: Minor changes to hp::Refinement. --- diff --git a/include/deal.II/hp/refinement.h b/include/deal.II/hp/refinement.h index bf696efbcd..87c604ad93 100644 --- a/include/deal.II/hp/refinement.h +++ b/include/deal.II/hp/refinement.h @@ -433,7 +433,7 @@ namespace hp * // [initialisation...] * Vector 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::max(); + * predicted_error_per_cell[i] = std::numeric_limits::infinity(); * * // [during each refinement step...] * // set h-adaptivity flags @@ -448,7 +448,7 @@ namespace hp * predicted_error_per_cell, * std::less(), * std::less()); - * 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();