From 184f0c2cf41912c2b4d8af363cbb16fe05ff1bd9 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sun, 22 Nov 2015 19:54:07 -0500 Subject: [PATCH] Improve spacing in a code sample. --- include/deal.II/dofs/block_info.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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. -- 2.39.5