]> https://gitweb.dealii.org/ - release-papers.git/commitdiff
Fix indentation of code listing. 53/head
authorMarc Fehling <marc.fehling@gmx.net>
Mon, 1 Jun 2020 18:54:33 +0000 (20:54 +0200)
committerMarc Fehling <marc.fehling@gmx.net>
Mon, 1 Jun 2020 18:54:33 +0000 (20:54 +0200)
9.2/paper.tex

index 48f38ca96ea73d078c229ee271feefdd89cae8d4..91c9fcf2d0e1a122722aeabdb1692c30ae3d03bd 100644 (file)
@@ -573,15 +573,15 @@ while the remaining fraction will be $h$-adapted (here: 10\%/20\%).
 \begin{c++}
 Vector<float> 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<float> 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();

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.