From: Marc Fehling Date: Mon, 1 Jun 2020 18:54:33 +0000 (+0200) Subject: Fix indentation of code listing. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81c71ed576fa44f87c73d5b447fbd7d4ba7bd0f9;p=release-papers.git Fix indentation of code listing. --- diff --git a/9.2/paper.tex b/9.2/paper.tex index 48f38ca..91c9fcf 100644 --- a/9.2/paper.tex +++ b/9.2/paper.tex @@ -573,15 +573,15 @@ while the remaining fraction will be $h$-adapted (here: 10\%/20\%). \begin{c++} Vector estimated_error_per_cell(n_active_cells); KellyErrorEstimator::estimate( -dof_handler, ..., solution, estimated_error_per_cell, ...); + dof_handler, ..., solution, estimated_error_per_cell, ...); GridRefinement::refine_and_coarsen_fixed_number( -triangulation, estimated_error_per_cell, 0.3, 0.03); + triangulation, estimated_error_per_cell, 0.3, 0.03); Vector estimated_smoothness_per_cell(n_active_cells); SmoothnessEstimator::Legendre::coefficient_decay( -..., dof_handler, solution, estimated_smoothness_per_cell); + ..., dof_handler, solution, estimated_smoothness_per_cell); hp::Refinement::p_adaptivity_fixed_number( -dof_handler, estimated_smoothness_per_cell, 0.9, 0.8); + dof_handler, estimated_smoothness_per_cell, 0.9, 0.8); hp::Refinement::choose_p_over_h(dof_handler); triangulation.execute_coarsening_and_refinement();