From: David Wells Date: Mon, 23 Nov 2015 00:54:07 +0000 (-0500) Subject: Improve spacing in a code sample. X-Git-Tag: v8.4.0-rc2~202^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=184f0c2cf41912c2b4d8af363cbb16fe05ff1bd9;p=dealii.git Improve spacing in a code sample. --- diff --git a/include/deal.II/dofs/block_info.h b/include/deal.II/dofs/block_info.h index a25b9013b4..0f5b5b6e95 100644 --- a/include/deal.II/dofs/block_info.h +++ b/include/deal.II/dofs/block_info.h @@ -72,10 +72,14 @@ namespace hp * * BlockVector solution(dof_handler.block_info().global()); * - * MGLevelObject > mg_vector(0, - * triangulation.n_levels()-1); for (unsigned int - * i=0;i In this + * MGLevelObject > mg_vector(0, triangulation.n_levels()-1); + * for (unsigned int i = 0; i < triangulation.n_levels(); ++i) + * { + * mg_vector[i].reinit(dof_handler.block_info().level(i)); + * } + * + * + * In this * example, solution obtains the block structure needed to represent * a finite element function on the DoFHandler. Similarly, all levels of * mg_vector will have the block structure needed on that level.