From: Marc Fehling Date: Mon, 1 Jun 2020 18:22:31 +0000 (+0200) Subject: Be more verbose on hp interface. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a688d268e4e15597f912234c7a89725f4e44e6dd;p=release-papers.git Be more verbose on hp interface. --- diff --git a/9.2/paper.tex b/9.2/paper.tex index 0466ab2..48f38ca 100644 --- a/9.2/paper.tex +++ b/9.2/paper.tex @@ -566,11 +566,10 @@ Consider the following (incomplete) listing as an example: We estimate both erro smoothness of the finite element approximation. Further, we flag certain fractions of cells with the highest and lowest errors for refinement and coarsening, respectively (here: 30\%/3\%). From those cells listed for adaptation, we designate a subset -for $h$- and $p$-adaptation (here: 10\%/90\%). -\todo[inline]{Timo asks: is this a typo in the code where you say 0.9, 0.9?} -The parameters of the corresponding +for $h$- and $p$-adaptation. The parameters of the corresponding \texttt{hp::Refinement} function specify the fraction of cells to be $p$-adapted from -those subsets flagged for refinement and coarsening, respectively. +those subsets flagged for refinement and coarsening, respectively (here: 90\%/80\%), +while the remaining fraction will be $h$-adapted (here: 10\%/20\%). \begin{c++} Vector estimated_error_per_cell(n_active_cells); KellyErrorEstimator::estimate( @@ -582,7 +581,7 @@ Vector estimated_smoothness_per_cell(n_active_cells); SmoothnessEstimator::Legendre::coefficient_decay( ..., dof_handler, solution, estimated_smoothness_per_cell); hp::Refinement::p_adaptivity_fixed_number( -dof_handler, estimated_smoothness_per_cell, 0.9, 0.9); +dof_handler, estimated_smoothness_per_cell, 0.9, 0.8); hp::Refinement::choose_p_over_h(dof_handler); triangulation.execute_coarsening_and_refinement();